![]() |
DUNE: Uniform Navigational Environment
2016.09.0
|
Ticket class.
This class holds active report request details.
Public Member Functions | |
| Ticket (Tasks::Task *task, unsigned id, const IMC::ReportControl *msg) | |
| bool | trigger (void) |
| bool | compare (const Ticket ticket) |
| void | reset (uint16_t period) |
| uint8_t | getInterface (void) const |
| std::string | getDestination (void) const |
| bool | isOperationStart (void) const |
| uint16_t | getPeriod (void) const |
|
inline |
|
inline |
Compare another ticket with this object.
Only interface and destination are compared.
References getDestination(), and getInterface().
|
inline |
|
inline |
|
inline |
Get current peridicity.
Referenced by Supervisors::Reporter::Dispatcher::add().
|
inline |
Check if this ticket is a start report request.
Referenced by Supervisors::Reporter::Dispatcher::add().
|
inline |
Reset periodicity of current ticket.
| [in] | period | periodicity value. |
|
inline |
Trigger a report.
