#include <uwpolling_NODE.h>
Class that describes the timer in the AUV.
Definition at line 153 of file uwpolling_NODE.h.
◆ Uwpolling_NODE_Timer()
Uwpolling_NODE::Uwpolling_NODE_Timer::Uwpolling_NODE_Timer |
( |
Uwpolling_NODE * |
m | ) |
|
|
inline |
◆ ~Uwpolling_NODE_Timer()
virtual Uwpolling_NODE::Uwpolling_NODE_Timer::~Uwpolling_NODE_Timer |
( |
| ) |
|
|
inlinevirtual |
◆ freeze()
virtual void Uwpolling_NODE::Uwpolling_NODE_Timer::freeze |
( |
| ) |
|
|
inlinevirtual |
◆ getCounter()
int Uwpolling_NODE::Uwpolling_NODE_Timer::getCounter |
( |
| ) |
|
|
inline |
Returns the counter of the timer.
- Returns
- the value of the counter of the timer
Definition at line 304 of file uwpolling_NODE.h.
◆ getDuration()
double Uwpolling_NODE::Uwpolling_NODE_Timer::getDuration |
( |
| ) |
|
|
inline |
Returns the counter of the timer.
- Returns
- the value of the counter of the timer
Definition at line 314 of file uwpolling_NODE.h.
◆ incrCounter()
void Uwpolling_NODE::Uwpolling_NODE_Timer::incrCounter |
( |
| ) |
|
|
inline |
◆ isActive()
bool Uwpolling_NODE::Uwpolling_NODE_Timer::isActive |
( |
| ) |
|
|
inline |
Checks if the timer is ACTIVE.
- Returns
- true or false
Definition at line 275 of file uwpolling_NODE.h.
◆ isExpired()
bool Uwpolling_NODE::Uwpolling_NODE_Timer::isExpired |
( |
| ) |
|
|
inline |
Checks if the timer is EXPIRED.
- Returns
- true or false
Definition at line 255 of file uwpolling_NODE.h.
◆ isFrozen()
bool Uwpolling_NODE::Uwpolling_NODE_Timer::isFrozen |
( |
| ) |
|
|
inline |
Checks if the timer is FROZEN.
- Returns
- true or false
Definition at line 265 of file uwpolling_NODE.h.
◆ isIdle()
bool Uwpolling_NODE::Uwpolling_NODE_Timer::isIdle |
( |
| ) |
|
|
inline |
Checks if the timer is IDLE.
- Returns
- true or false
Definition at line 235 of file uwpolling_NODE.h.
◆ isRunning()
bool Uwpolling_NODE::Uwpolling_NODE_Timer::isRunning |
( |
| ) |
|
|
inline |
Checks if the timer is RUNNING.
- Returns
- true or false
Definition at line 245 of file uwpolling_NODE.h.
◆ resetCounter()
void Uwpolling_NODE::Uwpolling_NODE_Timer::resetCounter |
( |
| ) |
|
|
inline |
◆ schedule()
virtual void Uwpolling_NODE::Uwpolling_NODE_Timer::schedule |
( |
double |
val | ) |
|
|
inlinevirtual |
Schedules a timer.
- Parameters
-
double | the duration of the timer |
Definition at line 222 of file uwpolling_NODE.h.
◆ stop()
virtual void Uwpolling_NODE::Uwpolling_NODE_Timer::stop |
( |
| ) |
|
|
inlinevirtual |
◆ unFreeze()
virtual void Uwpolling_NODE::Uwpolling_NODE_Timer::unFreeze |
( |
| ) |
|
|
inlinevirtual |
unFreeze is used to resume the timer starting from the point where it was freezed
Definition at line 198 of file uwpolling_NODE.h.
◆ counter
int Uwpolling_NODE::Uwpolling_NODE_Timer::counter |
|
protected |
◆ left_duration
double Uwpolling_NODE::Uwpolling_NODE_Timer::left_duration |
|
protected |
◆ start_time
double Uwpolling_NODE::Uwpolling_NODE_Timer::start_time |
|
protected |
◆ timer_status
The documentation for this class was generated from the following file: