nugu timer interface
More...
#include <nugu_timer_interface.hh>
◆ setInterval()
virtual void NuguClientKit::INuguTimer::setInterval |
( |
unsigned int |
msec | ) |
|
|
pure virtual |
Set timer's timeout interval.
- Parameters
-
[in] | msec | timeout (unit: msec) |
◆ getInterval()
virtual unsigned int NuguClientKit::INuguTimer::getInterval |
( |
| ) |
|
|
pure virtual |
Get timer's timeout interval.
- Returns
- timeout interval (unit: msec)
◆ setSingleShot()
virtual void NuguClientKit::INuguTimer::setSingleShot |
( |
bool |
singleshot | ) |
|
|
pure virtual |
Set timer running single shot.
- Parameters
-
◆ getSingleShot()
virtual bool NuguClientKit::INuguTimer::getSingleShot |
( |
| ) |
|
|
pure virtual |
Get timer single shot property.
- Returns
- single shot value
◆ start()
virtual void NuguClientKit::INuguTimer::start |
( |
unsigned int |
msec = 0 | ) |
|
|
pure virtual |
Request start timer with new interval.
- Parameters
-
[in] | msec | timeout interval. The timer works with internal interval if msec is 0. |
◆ restart()
virtual void NuguClientKit::INuguTimer::restart |
( |
unsigned int |
msec = 0 | ) |
|
|
pure virtual |
Request re-start timer with new interval.
- Parameters
-
[in] | msec | timeout interval. The timer works with internal interval if msec is 0. |
◆ setCallback()
virtual void NuguClientKit::INuguTimer::setCallback |
( |
timer_callback |
cb | ) |
|
|
pure virtual |
Request set timeout callback.
- Parameters
-
The documentation for this class was generated from the following file: