DUNE: Uniform Navigational Environment
2019.02.0
|
Public Member Functions | |
MessageMonitor (const std::string &system, uint64_t uid) | |
~MessageMonitor (void) | |
void | setEntities (const std::map< unsigned, std::string > &entities) |
DUNE::Utils::ByteBuffer * | messagesJSON (void) |
DUNE::Utils::ByteBuffer * | logbookJSON (void) |
void | addLogEntry (const DUNE::IMC::LogBookEntry *msg) |
void | updateMessage (const DUNE::IMC::Message *msg) |
void | readLock (void) |
void | readUnlock (void) |
Transports::HTTP::MessageMonitor::MessageMonitor | ( | const std::string & | system, |
uint64_t | uid | ||
) |
Transports::HTTP::MessageMonitor::~MessageMonitor | ( | void | ) |
void Transports::HTTP::MessageMonitor::addLogEntry | ( | const DUNE::IMC::LogBookEntry * | msg | ) |
Referenced by Transports::HTTP::Task::consume().
ByteBuffer * Transports::HTTP::MessageMonitor::logbookJSON | ( | void | ) |
Referenced by Transports::HTTP::Task::showLogBook().
ByteBuffer * Transports::HTTP::MessageMonitor::messagesJSON | ( | void | ) |
Referenced by Transports::HTTP::Task::showMessages().
|
inline |
References DUNE::Concurrency::Mutex::lock().
|
inline |
References DUNE::Concurrency::Mutex::unlock().
void Transports::HTTP::MessageMonitor::setEntities | ( | const std::map< unsigned, std::string > & | entities | ) |
Referenced by Transports::HTTP::Task::onEntityResolution().
void Transports::HTTP::MessageMonitor::updateMessage | ( | const DUNE::IMC::Message * | msg | ) |
Referenced by Transports::HTTP::Task::consume().