Declaration: MIDI.h
Taxonomy Categories:
Member Functions:
Interface Category:
API.
Inherits From:
TMIDIPacket
Inherited By:
None.
Purpose:
Provides convenient access for MIDI Set Tempo meta events.
Instantiation:
Allocate on the heap or the stack.
Deriving Classes:
Derive to provide more information.
Concurrency:
Not multithread safe.
Resource Use:
No special requirements.
- TMIDISetTempoPacket ()
- TMIDISetTempoPacket (const TTime & timeStamp, Tempo microsecondsPerMIDIQuarterNote)
- TMIDISetTempoPacket (const TMIDIPacket &)
- TMIDISetTempoPacket (const TMIDISetTempoPacket &)
Interface Category:
API.
Purpose:
- Default constructor. The value is undefined.
- Constructor with initial values.
- Constructor that converts a TMIDIPacket object.
- Copy constructor.
Calling Context:
- Called by the stream-in operators and to create an undefined object.
- Call this function directly.
- Call this function directly.
- Call this function directly.
Parameters:
- Takes no parameters.
- const TTime & timeStamp -The time stamp.
- Tempo microsecondsPerMIDIQuarterNote -The tempo.
- const TMIDIPacket & -The packet to convert.
- const TMIDISetTempoPacket & -The packet to copy.
Return Value:
None.
Exceptions:
- Throws no exceptions, passes all exceptions through.
- Throws no exceptions, passes all exceptions through.
- Throws TMIDIException::kInvalidStatus if not a Set Tempo packet.
- Throws no exceptions, passes all exceptions through.
Concurrency:
Multithread safe.
Other Considerations:
None.
virtual ~ TMIDISetTempoPacket ()
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.
- TMIDISetTempoPacket & operator =(const TMIDISetTempoPacket &)
- TMIDISetTempoPacket & operator =(const TMIDIPacket &)
Interface Category:
API.
Purpose:
- Assignment operator.
- Assignment operator to convert a TMIDIPacket object.
Calling Context:
- Call this function directly.
- Call this function directly.
Parameters:
Return Value:
A non-const reference to the left-hand side object.
Exceptions:
- Throws no exceptions, passes all exceptions through.
- Throws TMIDIException::kInvalidStatus if not a Set Tempo packet.
Concurrency:
Multithread safe.
Other Considerations:
None.
Member Function: TMIDISetTempoPacket::GetMicrosecondsPerMIDIQuarterNote
Tempo GetMicrosecondsPerMIDIQuarterNote () const
Interface Category:
API.
Purpose:
Gets the tempo.
Calling Context:
Call this function directly.
Parameters:
Return Value:
The tempo.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Multithread safe.
Other Considerations:
None.
Member Function: TMIDISetTempoPacket::SetMicrosecondsPerMIDIQuarterNote
void SetMicrosecondsPerMIDIQuarterNote (Tempo)
Interface Category:
API.
Purpose:
Sets the tempo.
Calling Context:
Call this function directly.
Parameters:
Return Value:
None.
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.