MIDI::MetaEvent Class Reference

#include <MetaEvent.h>

Inherits MIDI::Event.

Inherited by MIDI::MetaGenericEvent, MIDI::MetaNumberEvent, and MIDI::MetaTextEvent.

Collaboration diagram for MIDI::MetaEvent:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MetaEvent ()
 Default constructor.
 MetaEvent (const MetaEvent &o)
 Copy constructor.
 MetaEvent (dword deltaTime, byte metatype)
 Constructor.
EventType type ()
byte metaType ()
virtual DataBuffer data ()
virtual void debug ()
 Print debug information.

Detailed Description

Meta events are events that are not send to a synchronizer. This class represents an abstract meta event.

There are several types of events, each of which is referenced by some meta type. See the MIDI specification for different meta types.

Definition at line 40 of file MetaEvent.h.


Constructor & Destructor Documentation

MIDI::MetaEvent::MetaEvent (  ) 

Default constructor.

Definition at line 33 of file MetaEvent.cpp.

MIDI::MetaEvent::MetaEvent ( const MetaEvent o  ) 

Copy constructor.

Definition at line 37 of file MetaEvent.cpp.

MIDI::MetaEvent::MetaEvent ( dword  deltaTime,
byte  metatype 
)

Constructor.

Definition at line 41 of file MetaEvent.cpp.


Member Function Documentation

DataBuffer MIDI::MetaEvent::data (  )  [virtual]
Returns:
This meta event represented as data in a MIDI file

Reimplemented from MIDI::Event.

Reimplemented in MIDI::MetaGenericEvent, MIDI::MetaNumberEvent, and MIDI::MetaTextEvent.

Definition at line 55 of file MetaEvent.cpp.

void MIDI::MetaEvent::debug (  )  [virtual]

Print debug information.

Reimplemented from MIDI::Event.

Reimplemented in MIDI::MetaGenericEvent, MIDI::MetaNumberEvent, and MIDI::MetaTextEvent.

Definition at line 65 of file MetaEvent.cpp.

byte MIDI::MetaEvent::metaType (  ) 
Returns:
The type of the meta event. See MIDI specification

Definition at line 50 of file MetaEvent.cpp.

EventType MIDI::MetaEvent::type (  )  [virtual]
Returns:
MIDI_METAEVENT, since this is a channel event

Implements MIDI::Event.

Definition at line 45 of file MetaEvent.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Typedefs Enumerations Enumerator Defines

Generated on Tue Jan 5 16:09:42 2010 for libmidi by  doxygen 1.6.1