DUNE: Uniform Navigational Environment
2.6.1
|
Public Member Functions | |
RateLimiters (void) | |
~RateLimiters (void) | |
void | setup (const std::vector< std::string > &spec) |
bool | filter (const IMC::Message *msg) |
DUNE::Tasks::RateLimiters::RateLimiters | ( | void | ) |
DUNE::Tasks::RateLimiters::~RateLimiters | ( | void | ) |
bool DUNE::Tasks::RateLimiters::filter | ( | const IMC::Message * | msg | ) |
References DUNE::Time::Clock::get(), DUNE::IMC::Message::getId(), and DUNE::IMC::Message::getSourceEntity().
Referenced by DUNE::Tasks::SimpleTransport::consume().
void DUNE::Tasks::RateLimiters::setup | ( | const std::vector< std::string > & | spec | ) |
References DUNE::IMC::Factory::getIdFromAbbrev(), DUNE::Utils::String::split(), and DUNE::Utils::String::str().
Referenced by DUNE::Tasks::SimpleTransport::onMain().