DUNE: Uniform Navigational Environment
2016.05.0
|
This class is a client-side API to use reporter supervisor.
Public Member Functions | |
Client (Tasks::Task *task, CommInterface interface, float time=0.0, bool wait_ack=false) | |
void | consume (const IMC::ReportControl *msg) |
bool | trigger (std::string *destination=NULL) |
bool | ack (const std::string destination="") |
|
inline |
Constructor.
|
inline |
Call this function to acknowledge that report was sent.
[in] | destination | destination system. |
Referenced by Sensors::MLBL::Task::fullAcousticReport(), and Sensors::MLBL::Task::reportRanges().
|
inline |
Consume report messages.
[in] | msg | ReportControl message. |
References DUNE::IMC::ReportControl::comm_interface, DUNE::IMC::ReportControl::op, DUNE::IMC::ReportControl::OP_REPORT_SENT, DUNE::IMC::ReportControl::OP_REQUEST_REPORT, and DUNE::IMC::ReportControl::sys_dst.
Referenced by Monitors::Emergency::Task::consume(), Transports::UAN::Task::consume(), and Sensors::MLBL::Task::consume().
|
inline |
Call this function to see if there are reports to be sent.
[out] | destination | destination system. |
Referenced by Transports::UAN::Task::onMain(), Sensors::MLBL::Task::onMain(), and Monitors::Emergency::Task::task().