TSE3::Event< etype > Struct Template Reference
A scheduled event.
More...
#include <Midi.h>
Collaboration diagram for TSE3::Event< etype >:
[legend]List of all members.
Detailed Description
template<class etype>
struct TSE3::Event< etype >
A scheduled event.
An Event is a generic class that can schedule something to a Clock time.
It's comparison operators only compare times, NOT the data contents as well.
Note that the MidiEvent class does not use this as a base class since it is a 'special case'.
This is a value type.
- Author:
- Pete Goodliffe
- Version:
- 3.00
- See also:
- Midievent
Clock
Member Typedef Documentation
Constructor & Destructor Documentation
|
Creates an Event with the given data and Clock.
- Parameters:
-
data | The event data (of template parameter type) |
time | The event time |
|
Member Function Documentation
template<class etype> |
int TSE3::Event< etype >::operator< |
( |
const Event< etype > & |
e |
) |
const [inline] |
|
|
This comparison operator only compares event times, NOT the data contents. |
template<class etype> |
int TSE3::Event< etype >::operator<= |
( |
const Event< etype > & |
e |
) |
const [inline] |
|
|
This comparison operator only compares event times, NOT the data contents. |
template<class etype> |
int TSE3::Event< etype >::operator> |
( |
const Event< etype > & |
e |
) |
const [inline] |
|
|
This comparison operator only compares event times, NOT the data contents. |
template<class etype> |
int TSE3::Event< etype >::operator>= |
( |
const Event< etype > & |
e |
) |
const [inline] |
|
|
This comparison operator only compares event times, NOT the data contents. |
template<class etype> |
int TSE3::Event< etype >::operator== |
( |
const Event< etype > & |
e |
) |
const [inline] |
|
|
This comparison operator only compares event times, NOT the data contents. |
template<class etype> |
bool TSE3::Event< etype >::equals |
( |
const Event< etype > & |
e |
) |
const [inline] |
|
|
Compares two Events for equality, checking both the times and the data. |
Member Data Documentation
The documentation for this struct was generated from the following file:
- /home/pete/Work/TSE3.svn/tse3/src/tse3/Midi.h
Generated on Wed May 25 14:46:24 2005 for TSE3 by
1.3.2