DUNE: Uniform Navigational Environment
2016.03.0
|
This structure serves the purpose of joining useful objects, usually shared by a large number of classes (namely Tasks).
Public Member Functions | |
Context (void) | |
DUNE::Tasks::Context::Context | ( | void | ) |
Parsers::Config DUNE::Tasks::Context::config |
Configuration directives.
Referenced by DUNE::Control::BasicAutopilot::BasicAutopilot(), DUNE::Daemon::consume(), DUNE::Daemon::Daemon(), DUNE::Tasks::Task::loadConfig(), DUNE::Tasks::Manager::Manager(), Plan::Engine::Task::onResourceAcquisition(), Sensors::MLBL::Task::onResourceInitialization(), Sensors::MLBLTracker::Task::onUpdateParameters(), DUNE::Control::PathController::PathController(), Plan::Generator::Task::Task(), Monitors::FuelLevel::Task::Task(), Supervisors::AUV::Assist::Task::Task(), Monitors::Medium::Task::Task(), Monitors::OperationalLimits::Task::Task(), Control::AUV::Speed::Task::Task(), and Control::AUV::Attitude::Task::Task().
FileSystem::Path DUNE::Tasks::Context::dir_app |
DUNE's directory.
Referenced by Context(), and DUNE::Daemon::Daemon().
FileSystem::Path DUNE::Tasks::Context::dir_cfg |
Path to configuration directory.
Referenced by DUNE::Navigation::BasicNavigation::checkDeclination(), Navigation::General::GPSNavigation::Task::consume(), Context(), DUNE::Daemon::Daemon(), Control::UAV::Ardupilot::Task::handlePositionPacket(), and Sensors::WifiRSSI::Task::onUpdateParameters().
FileSystem::Path DUNE::Tasks::Context::dir_db |
Path to database directory.
Referenced by Context(), DUNE::Daemon::Daemon(), Plan::DB::Task::onResourceAcquisition(), Plan::Engine::Task::openDB(), and Transports::Cache::Task::Task().
FileSystem::Path DUNE::Tasks::Context::dir_i18n |
Path to internationalization directory.
Referenced by Context().
FileSystem::Path DUNE::Tasks::Context::dir_lib |
Path to libraries directory.
Referenced by Context(), and DUNE::Daemon::Daemon().
FileSystem::Path DUNE::Tasks::Context::dir_log |
FileSystem::Path DUNE::Tasks::Context::dir_scripts |
Path to scripts directory.
Referenced by Context().
FileSystem::Path DUNE::Tasks::Context::dir_usr_cfg |
Path to user configuration directory.
Referenced by Context().
FileSystem::Path DUNE::Tasks::Context::dir_www |
Path to HTTP server directory.
Referenced by Context(), and DUNE::Daemon::Daemon().
Entities::EntityDataBase DUNE::Tasks::Context::entities |
Label data base.
Referenced by DUNE::Daemon::consume(), Monitors::Entities::Task::onEntityResolution(), DUNE::Tasks::Task::reserveEntities(), DUNE::Tasks::Task::reserveEntity(), DUNE::Tasks::Task::resolveEntity(), DUNE::Entities::BasicEntity::setLabel(), and Transports::LoggingDigest::Task::startLog().
IMC::Bus DUNE::Tasks::Context::mbus |
Profiles DUNE::Tasks::Context::profiles |
Execution profiles.
Referenced by DUNE::Navigation::BasicNavigation::BasicNavigation(), Navigation::AUV::CLRanger::Task::consume(), Control::UAV::Ardupilot::Task::consume(), DUNE::Daemon::Daemon(), DUNE::Tasks::Manager::Manager(), DUNE::Navigation::BasicNavigation::onEntityResolution(), Monitors::Entities::Task::onEntityResolution(), DUNE::Navigation::BasicNavigation::onUpdateParameters(), and Transports::UDP::Task::onUpdateParameters().
IMC::AddressResolver DUNE::Tasks::Context::resolver |
IMC address resolver.
Referenced by Autonomy::TREX::Task::consume(), DUNE::Daemon::Daemon(), DUNE::Entities::BasicEntity::dispatch(), DUNE::Tasks::Task::getSystemId(), DUNE::Tasks::Task::getSystemName(), Transports::Discovery::Task::readMessage(), DUNE::Tasks::Task::resolveSystemId(), and DUNE::Tasks::Task::resolveSystemName().
uint64_t DUNE::Tasks::Context::uid |
UID of this instance.
Referenced by Context(), Transports::Announce::Task::onUpdateParameters(), and Transports::Discovery::Task::Task().