|
tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications
« « « Anklang Documentation |
A timecode display mode, e.g. More...
#include "tracktion_TimecodeDisplayFormat.h"
Public Member Functions | |
| TimecodeDisplayFormat (TimecodeType t) noexcept | |
| bool | operator== (const TimecodeDisplayFormat &other) const |
| bool | operator!= (const TimecodeDisplayFormat &other) const |
| bool | isBarsBeats () const |
| bool | isMilliseconds () const |
| bool | isSMPTE () const |
| int | getFPS () const |
| juce::String | getRoundingDescription () const |
| juce::String | getString (const TempoSequence &, TimePosition, bool isRelative) const |
| juce::String | getStartLabel () const |
| int | getNumParts () const |
| number of sections in the timecode string | |
| juce::String | getSeparator (int part) const |
| int | getMaxCharsInPart (int part, bool canBeNegative) const |
| int | getMaxValueOfPart (const TempoSequence &, TimecodeDuration currentTime, int part, bool isRelative) const |
| int | getMinValueOfPart (int part, bool isRelative) const |
| void | getPartStrings (TimecodeDuration duration, const TempoSequence &, bool isRelative, juce::String results[4]) const |
| TimecodeDuration | getNewTimeWithPartValue (TimecodeDuration oldTime, const TempoSequence &, int part, int newValue, bool isRelative) const |
| TimecodeSnapType | getBestSnapType (const TempoSetting &, TimeDuration onScreenTimePerPixel, bool isTripletOverride) const |
| int | getNumSnapTypes () const |
| TimecodeSnapType | getSnapType (int index) const |
| int | getSubSecondDivisions () const |
Static Public Member Functions | |
| static juce::String | toFullTimecode (TimePosition, const int subSecondDivisions=1000, bool showHours=false) |
| this will format the time as "hh:mm:ss.xxx". | |
Public Attributes | |
| TimecodeType | type |
A timecode display mode, e.g.
bars/beats, seconds/frames, etc.
Definition at line 102 of file tracktion_TimecodeDisplayFormat.h.
|
noexcept |
Definition at line 109 of file tracktion_TimecodeDisplayFormat.h.
|
noexcept |
Definition at line 110 of file tracktion_TimecodeDisplayFormat.h.
| TimecodeSnapType tracktion::engine::TimecodeDisplayFormat::getBestSnapType | ( | const TempoSetting & | tempo, |
| TimeDuration | onScreenTimePerPixel, | ||
| bool | isTripletOverride | ||
| ) | const |
Definition at line 676 of file tracktion_TimecodeDisplayFormat.cpp.
| int tracktion::engine::TimecodeDisplayFormat::getFPS | ( | ) | const |
Definition at line 350 of file tracktion_TimecodeDisplayFormat.cpp.
| int tracktion::engine::TimecodeDisplayFormat::getMaxCharsInPart | ( | int | part, |
| bool | canBeNegative | ||
| ) | const |
Definition at line 433 of file tracktion_TimecodeDisplayFormat.cpp.
| int tracktion::engine::TimecodeDisplayFormat::getMaxValueOfPart | ( | const TempoSequence & | sequence, |
| TimecodeDuration | currentTime, | ||
| int | part, | ||
| bool | isRelative | ||
| ) | const |
Definition at line 455 of file tracktion_TimecodeDisplayFormat.cpp.
Definition at line 474 of file tracktion_TimecodeDisplayFormat.cpp.
| TimecodeDuration tracktion::engine::TimecodeDisplayFormat::getNewTimeWithPartValue | ( | TimecodeDuration | oldTime, |
| const TempoSequence & | tempo, | ||
| int | part, | ||
| int | newValue, | ||
| bool | isRelative | ||
| ) | const |
Definition at line 584 of file tracktion_TimecodeDisplayFormat.cpp.
| int tracktion::engine::TimecodeDisplayFormat::getNumParts | ( | ) | const |
number of sections in the timecode string
Definition at line 422 of file tracktion_TimecodeDisplayFormat.cpp.
| int tracktion::engine::TimecodeDisplayFormat::getNumSnapTypes | ( | ) | const |
Definition at line 698 of file tracktion_TimecodeDisplayFormat.cpp.
| void tracktion::engine::TimecodeDisplayFormat::getPartStrings | ( | TimecodeDuration | duration, |
| const TempoSequence & | tempo, | ||
| bool | isRelative, | ||
| juce::String | results[4] | ||
| ) | const |
Definition at line 487 of file tracktion_TimecodeDisplayFormat.cpp.
| juce::String tracktion::engine::TimecodeDisplayFormat::getRoundingDescription | ( | ) | const |
Definition at line 365 of file tracktion_TimecodeDisplayFormat.cpp.
| juce::String tracktion::engine::TimecodeDisplayFormat::getSeparator | ( | int | part | ) | const |
Definition at line 427 of file tracktion_TimecodeDisplayFormat.cpp.
| TimecodeSnapType tracktion::engine::TimecodeDisplayFormat::getSnapType | ( | int | index | ) | const |
Definition at line 704 of file tracktion_TimecodeDisplayFormat.cpp.
| juce::String tracktion::engine::TimecodeDisplayFormat::getString | ( | const TempoSequence & | tempo, |
| TimePosition | time, | ||
| bool | isRelative | ||
| ) | const |
Definition at line 385 of file tracktion_TimecodeDisplayFormat.cpp.
| int tracktion::engine::TimecodeDisplayFormat::getSubSecondDivisions | ( | ) | const |
Definition at line 380 of file tracktion_TimecodeDisplayFormat.cpp.
| bool tracktion::engine::TimecodeDisplayFormat::isBarsBeats | ( | ) | const |
Definition at line 346 of file tracktion_TimecodeDisplayFormat.cpp.
| bool tracktion::engine::TimecodeDisplayFormat::isMilliseconds | ( | ) | const |
Definition at line 347 of file tracktion_TimecodeDisplayFormat.cpp.
| bool tracktion::engine::TimecodeDisplayFormat::isSMPTE | ( | ) | const |
Definition at line 348 of file tracktion_TimecodeDisplayFormat.cpp.
| bool tracktion::engine::TimecodeDisplayFormat::operator!= | ( | const TimecodeDisplayFormat & | other | ) | const |
Definition at line 113 of file tracktion_TimecodeDisplayFormat.h.
| bool tracktion::engine::TimecodeDisplayFormat::operator== | ( | const TimecodeDisplayFormat & | other | ) | const |
Definition at line 112 of file tracktion_TimecodeDisplayFormat.h.
|
static |
this will format the time as "hh:mm:ss.xxx".
The xxx depends on the subSecondDivisor value - e.g. 1000 will show xxx as milliseconds, if subSecondDivisor is 25 xxx will be 0 to 24 (for frames). If subSecondDivisor is 0, no sub-second portion will be produced.
Definition at line 652 of file tracktion_TimecodeDisplayFormat.cpp.
| TimecodeType tracktion::engine::TimecodeDisplayFormat::type |
Definition at line 105 of file tracktion_TimecodeDisplayFormat.h.