cmlabs::Timer Class Reference
#include <Timer.h>
List of all members.
|
Public Member Functions |
| Timer (JString strData, long ms) |
| Timer (Object *obj, long ms) |
| Timer (JString strData, long ms, void(*function)(JString string)) |
| Timer (JString strData, long ms, TimerReceiver *receiver) |
| Timer (Object *obj, long ms, void(*function)(Object *object)) |
| Timer (Object *obj, long ms, TimerObjectReceiver *receiver) |
virtual | ~Timer () |
Object * | clone () const |
void | run () |
void | cancel () |
long | msLeft () |
long | waitFor () |
bool | hasEnded () |
long | msSinceEnded () |
Object * | getAndRemoveObject () |
Protected Member Functions |
void | OnTimer () |
Protected Attributes |
JString | data |
Object * | object |
JTime | startedAt |
JTime | endedAt |
void(* | stringCallback )(JString strData) |
void(* | objectCallback )(Object *obj) |
TimerReceiver * | timerReceiver |
TimerObjectReceiver * | timerObjectReceiver |
JSemaphore | extSem |
JSemaphore | timerSem |
bool | shouldContinue |
long | msRuntime |
Detailed Description
Definition at line 48 of file Timer.h.
Constructor & Destructor Documentation
cmlabs::Timer::Timer |
( |
JString |
strData, |
|
|
long |
ms | |
|
) |
| | |
cmlabs::Timer::Timer |
( |
Object * |
obj, |
|
|
long |
ms | |
|
) |
| | |
cmlabs::Timer::Timer |
( |
JString |
strData, |
|
|
long |
ms, |
|
|
void(*)(JString string) |
function | |
|
) |
| | |
cmlabs::Timer::~Timer |
( |
|
) |
[virtual] |
Member Function Documentation
Object* cmlabs::Timer::clone |
( |
|
) |
const [virtual] |
void cmlabs::Timer::run |
( |
|
) |
[virtual] |
void cmlabs::Timer::cancel |
( |
|
) |
|
long cmlabs::Timer::msLeft |
( |
|
) |
|
long cmlabs::Timer::waitFor |
( |
|
) |
|
bool cmlabs::Timer::hasEnded |
( |
|
) |
|
long cmlabs::Timer::msSinceEnded |
( |
|
) |
|
Object * cmlabs::Timer::getAndRemoveObject |
( |
|
) |
|
void cmlabs::Timer::OnTimer |
( |
|
) |
[protected] |
Member Data Documentation
The documentation for this class was generated from the following files: