MCPcopy Create free account
hub / github.com/LMMS/lmms / timeMapLength

Method timeMapLength

src/core/AutomationPattern.cpp:189–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187
188
189MidiTime AutomationPattern::timeMapLength() const
190{
191 if( m_timeMap.isEmpty() ) return 0;
192 timeMap::const_iterator it = m_timeMap.end();
193 return MidiTime( MidiTime( (it-1).key() ).nextFullTact(), 0 );
194}
195
196
197

Callers 1

paintEventMethod · 0.80

Calls 5

MidiTimeClass · 0.85
nextFullTactMethod · 0.80
keyMethod · 0.80
isEmptyMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected