#include <TimerNode.h>
Inheritance diagram for TimerNode::
Public Methods | |
TimerNode (void *(*func)(void *), void *data, TimeValue wakeup, bool *set) | |
Create an event. More... | |
virtual | ~TimerNode () |
bool | past () |
Return true if the event should have fired already. More... | |
void * | getArg () |
Return the argument that will be passed to the function. More... | |
bool | isValid () |
Return true if this event is still valid. More... | |
void *(* | getFunc ())(void *) |
TimeValue | getWakeup () |
Return the wakeup time of this event. More... | |
virtual void | toStream (std::ostream &) |
Print out wake up time and isValid. More... | |
Private Attributes | |
void *(* | m_func )(void *) |
void * | m_arg |
TimeValue | m_wakeup |
bool * | m_isValid |
Friends | |
bool | operator< (const TimerNode &node1, const TimerNode &node2) |
Compare two TimerNodes. More... |
Definition at line 12 of file TimerNode.h.
|
Create an event.
Definition at line 11 of file TimerNode.cpp. |
|
Definition at line 16 of file TimerNode.h. |
|
Return the argument that will be passed to the function.
Definition at line 47 of file TimerNode.cpp. Referenced by ThreadSpawningTimer::doAction(), and CallbackTimer::doAction().
|
|
Referenced by ThreadSpawningTimer::doAction(), and CallbackTimer::doAction().
|
|
Return the wakeup time of this event.
Definition at line 64 of file TimerNode.cpp. |
|
Return true if this event is still valid.
Definition at line 72 of file TimerNode.cpp. |
|
Return true if the event should have fired already. Return false if the event hasnt happened yet. Definition at line 34 of file TimerNode.cpp. |
|
Print out wake up time and isValid.
Reimplemented from BasicObject. Definition at line 23 of file TimerNode.cpp. |
|
Compare two TimerNodes.
Definition at line 80 of file TimerNode.cpp. |
|
Definition at line 28 of file TimerNode.h. |
|
|
|
Definition at line 30 of file TimerNode.h. |
|
Definition at line 29 of file TimerNode.h. |