DESERT 3.5.1
|
#include <uwsr.h>
Public Member Functions | |
UWSRTimer (MMacUWSR *m) | |
virtual | ~UWSRTimer () |
virtual void | freeze () |
virtual void | unFreeze () |
virtual void | stop () |
virtual void | schedule (double val) |
bool | isIdle () |
bool | isRunning () |
bool | isExpired () |
bool | isFrozen () |
bool | isActive () |
void | resetCounter () |
void | incrCounter () |
int | getCounter () |
double | getDuration () |
double | leftDuration () |
Protected Attributes | |
double | start_time |
double | left_duration |
int | counter |
MMacUWSR *UWSR_TIMER_STATUS | timer_status |
Base class of all the timer used in this protocol.
This is a derived class of TimerHandler.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
It freezes or in another word, it stops the timer for some time.
Suppose, for some reason we want to stop a timer for some period and we want to run this timer from where it was stopped. This function stops the timer and save the left time duration it must run.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
protected |
|
protected |
|
protected |
|
protected |