DUNE: Uniform Navigational Environment
2020.01.0
|
Public Member Functions | |
Recipient (AbstractTask *task, Context &ctx) | |
~Recipient (void) | |
void | unbindAll (void) |
void | put (const IMC::Message *) |
void | bind (uint32_t id, AbstractConsumer *c) |
void | waitForMessages (double timeout) |
void | runCallBacks (void) |
DUNE::Tasks::Recipient::Recipient | ( | AbstractTask * | task, |
Context & | ctx | ||
) |
Constructor.
DUNE::Tasks::Recipient::~Recipient | ( | void | ) |
Destructor.
References unbindAll().
void DUNE::Tasks::Recipient::bind | ( | uint32_t | id, |
AbstractConsumer * | c | ||
) |
References DUNE::Tasks::Context::mbus, and DUNE::IMC::Bus::registerRecipient().
Referenced by DUNE::Entities::BasicEntity::bind(), and DUNE::Tasks::Task::bind().
void DUNE::Tasks::Recipient::put | ( | const IMC::Message * | msg | ) |
References DUNE::IMC::Message::clone().
Referenced by DUNE::Tasks::Task::receive().
void DUNE::Tasks::Recipient::runCallBacks | ( | void | ) |
References DUNE::IMC::Message::getId().
Referenced by DUNE::Tasks::Task::consumeMessages(), and waitForMessages().
void DUNE::Tasks::Recipient::unbindAll | ( | void | ) |
References DUNE::Tasks::Context::mbus, and DUNE::IMC::Bus::unregisterRecipient().
Referenced by ~Recipient().
void DUNE::Tasks::Recipient::waitForMessages | ( | double | timeout | ) |
References runCallBacks().
Referenced by DUNE::Tasks::Task::waitForMessages().