#include <uwpolling_AUV.h>
Class that describes the timer in the AUV.
Definition at line 265 of file uwpolling_AUV.h.
◆ Uwpolling_AUV_Timer()
Uwpolling_AUV::Uwpolling_AUV_Timer::Uwpolling_AUV_Timer |
( |
Uwpolling_AUV * |
m | ) |
|
|
inline |
◆ ~Uwpolling_AUV_Timer()
virtual Uwpolling_AUV::Uwpolling_AUV_Timer::~Uwpolling_AUV_Timer |
( |
| ) |
|
|
inlinevirtual |
◆ freeze()
virtual void Uwpolling_AUV::Uwpolling_AUV_Timer::freeze |
( |
| ) |
|
|
inlinevirtual |
◆ getCounter()
int Uwpolling_AUV::Uwpolling_AUV_Timer::getCounter |
( |
| ) |
|
|
inline |
Returns the counter of the timer.
- Returns
- the value of the counter of the timer
Definition at line 416 of file uwpolling_AUV.h.
◆ getDuration()
double Uwpolling_AUV::Uwpolling_AUV_Timer::getDuration |
( |
| ) |
|
|
inline |
Returns the left duration of the timer.
- Returns
- the value of the counter of the timer
Definition at line 426 of file uwpolling_AUV.h.
◆ incrCounter()
void Uwpolling_AUV::Uwpolling_AUV_Timer::incrCounter |
( |
| ) |
|
|
inline |
◆ isActive()
bool Uwpolling_AUV::Uwpolling_AUV_Timer::isActive |
( |
| ) |
|
|
inline |
Checks if the timer is ACTIVE.
- Returns
- true or false
Definition at line 387 of file uwpolling_AUV.h.
◆ isExpired()
bool Uwpolling_AUV::Uwpolling_AUV_Timer::isExpired |
( |
| ) |
|
|
inline |
Checks if the timer is EXPIRED.
- Returns
- true or false
Definition at line 367 of file uwpolling_AUV.h.
◆ isFrozen()
bool Uwpolling_AUV::Uwpolling_AUV_Timer::isFrozen |
( |
| ) |
|
|
inline |
Checks if the timer is FROZEN.
- Returns
- true or false
Definition at line 377 of file uwpolling_AUV.h.
◆ isIdle()
bool Uwpolling_AUV::Uwpolling_AUV_Timer::isIdle |
( |
| ) |
|
|
inline |
Checks if the timer is IDLE.
- Returns
- bool true or false
Definition at line 347 of file uwpolling_AUV.h.
◆ isRunning()
bool Uwpolling_AUV::Uwpolling_AUV_Timer::isRunning |
( |
| ) |
|
|
inline |
Checks if the timer is RUNNING.
- Returns
- true or false
Definition at line 357 of file uwpolling_AUV.h.
◆ resetCounter()
void Uwpolling_AUV::Uwpolling_AUV_Timer::resetCounter |
( |
| ) |
|
|
inline |
◆ schedule()
virtual void Uwpolling_AUV::Uwpolling_AUV_Timer::schedule |
( |
double |
val | ) |
|
|
inlinevirtual |
Schedules a timer.
- Parameters
-
double | the duration of the timer |
Definition at line 334 of file uwpolling_AUV.h.
◆ stop()
virtual void Uwpolling_AUV::Uwpolling_AUV_Timer::stop |
( |
| ) |
|
|
inlinevirtual |
◆ unFreeze()
virtual void Uwpolling_AUV::Uwpolling_AUV_Timer::unFreeze |
( |
| ) |
|
|
inlinevirtual |
unFreeze is used to resume the timer starting from the point where it was freezed
Definition at line 310 of file uwpolling_AUV.h.
◆ counter
int Uwpolling_AUV::Uwpolling_AUV_Timer::counter |
|
protected |
◆ left_duration
double Uwpolling_AUV::Uwpolling_AUV_Timer::left_duration |
|
protected |
◆ start_time
double Uwpolling_AUV::Uwpolling_AUV_Timer::start_time |
|
protected |
◆ timer_status
The documentation for this class was generated from the following file: