flimEngine
|
A queue of commands to be fired off on a timer. More...
#include <Timeline.h>
Public Member Functions | |
Timeline () | |
~Timeline () | |
Timeline (const Timeline &)=delete | |
Timeline & | operator= (const Timeline &)=delete |
snd_err | Register (AudioCommand *cmd, int t) |
Registers this object. More... | |
snd_err | Deregister (AudioCommand *cmd) |
Deregisters this object. More... | |
snd_err | RemovePlaylist (unsigned int instance) |
Removes the playlist described by instance. More... | |
snd_err | ProcessAlarms () |
Process the alarms. More... | |
int | GetTime () |
Gets the time. More... | |
Private Attributes | |
Timer | timer |
std::multimap< int, AudioCommand * > | timeline |
Friends | |
class | Alarmable |
A queue of commands to be fired off on a timer.
Timeline::Timeline | ( | ) |
Timeline::~Timeline | ( | ) |
|
delete |
snd_err Timeline::Deregister | ( | AudioCommand * | cmd | ) |
Deregisters this object.
[in,out] | cmd | If non-null, the command. |
int Timeline::GetTime | ( | ) |
Gets the time.
snd_err Timeline::ProcessAlarms | ( | ) |
Process the alarms.
snd_err Timeline::Register | ( | AudioCommand * | cmd, |
int | t | ||
) |
Registers this object.
[in,out] | cmd | If non-null, the command. |
t | The int to process. |
snd_err Timeline::RemovePlaylist | ( | unsigned int | instance | ) |
Removes the playlist described by instance.
instance | The instance. |
|
friend |
|
private |
|
private |