TracktionEngine
Loading...
Searching...
No Matches
engine::TimecodeDisplayIterator Struct Reference

Iterates along a timeline for drawing things like the ticks on the timebar. More...

#include <tracktion_TimecodeDisplayFormat.h>

Public Member Functions

 TimecodeDisplayIterator (const Edit &, TimePosition, TimecodeSnapType minSnapTypeToUse, bool isTripletOverride)
TimePosition next ()
 Returns the next time.
juce::String getTimecodeAsString () const
int getCurrentResolutionLevel () const noexcept
 the resolution level of the timecode that the current interval is at
int getMinimumResolutionLevel () const noexcept
bool isOneBarOrGreater () const noexcept
 true if the current resolution is at least bar level
TimecodeSnapType getCurrentSnapType () const noexcept

Detailed Description

Iterates along a timeline for drawing things like the ticks on the timebar.

Constructor & Destructor Documentation

◆ TimecodeDisplayIterator()

engine::TimecodeDisplayIterator::TimecodeDisplayIterator ( const Edit & ,
TimePosition ,
TimecodeSnapType minSnapTypeToUse,
bool isTripletOverride )

Member Function Documentation

◆ next()

TimePosition engine::TimecodeDisplayIterator::next ( )

Returns the next time.

◆ getTimecodeAsString()

juce::String engine::TimecodeDisplayIterator::getTimecodeAsString ( ) const

◆ getCurrentResolutionLevel()

int engine::TimecodeDisplayIterator::getCurrentResolutionLevel ( ) const
noexcept

the resolution level of the timecode that the current interval is at

◆ getMinimumResolutionLevel()

int engine::TimecodeDisplayIterator::getMinimumResolutionLevel ( ) const
noexcept

◆ isOneBarOrGreater()

bool engine::TimecodeDisplayIterator::isOneBarOrGreater ( ) const
noexcept

true if the current resolution is at least bar level

◆ getCurrentSnapType()

TimecodeSnapType engine::TimecodeDisplayIterator::getCurrentSnapType ( ) const
noexcept

References getCurrentSnapType().

Referenced by getCurrentSnapType().


The documentation for this struct was generated from the following file: