Declaration: MIDI.h
Taxonomy Categories:
Member Functions:
Interface Category:
API.
Inherits From:
TTime
Inherited By:
None.
Purpose:
A derived class of TTime that represents a dimensionless unit of time. This can be used for time stamps in a MIDI sequence that can be converted to units of time by tempo events in the metrical case and a frame rate in the SMPTE case, for example, together with a resolution. See TMIDISequence for more details.
Instantiation:
Allocate on the heap or the stack.
Deriving Classes:
Derive to provide additional functionality or state.
Concurrency:
Not multithread safe.
Resource Use:
No special requirements.
- TMIDITick ()
- TMIDITick (const TTime &)
- TMIDITick (Tick ticks)
- TMIDITick (const TMIDITick &)
Interface Category:
API.
Purpose:
- Default constructor. The initial value is undefined.
- Constructor.
- Constructor.
- Copy constructor.
Calling Context:
- Called by the stream-in operators and directly.
- Call this function directly.
- Call this function directly.
- Call this function directly.
Parameters:
- Takes no parameters.
- const TTime & -The TTime object with the initial value.
- Tick ticks -The tick initial value.
- const TMIDITick & -The object to copy.
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Multithread safe.
Other Considerations:
None.
Member Function: TMIDITick::operator=
TMIDITick & operator =(const TMIDITick &)
Interface Category:
API.
Purpose:
Assignment operator.
Calling Context:
Call this function directly.
Parameters:
- const TMIDITick & -The source object for the assignment.
Return Value:
A non-const reference to the left-hand side object.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Multithread safe.
Other Considerations:
None.
virtual ~ TMIDITick ()
Interface Category:
API.
Purpose:
Destructor.
Calling Context:
Call this function directly.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Multithread safe.
Other Considerations:
None.
Member Function: TMIDITick::GetTicks
Tick GetTicks () const
Interface Category:
API.
Purpose:
Gets the ticks as a dimensionless value.
Calling Context:
Call this function directly.
Parameters:
Return Value:
Tick ticks -The number of ticks.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Multithread safe.
Other Considerations:
None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.