DUNE: Uniform Navigational Environment
2019.02.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 |
Current configuration.
Referenced by DUNE::Control::BasicAutopilot::BasicAutopilot(), DUNE::Daemon::Daemon(), DUNE::Tasks::Task::loadConfig(), DUNE::Tasks::Manager::Manager(), Transports::Radio::Task::onRequestActivation(), Plan::Engine::Task::onResourceAcquisition(), Navigation::AUV::Navigation::Task::onResourceInitialization(), Transports::Seatrac::Task::onResourceInitialization(), Sensors::MLBL::Task::onResourceInitialization(), Transports::Radio::Task::onResourceInitialization(), DUNE::Tasks::Task::onSetEntityParameters(), Sensors::MLBLTracker::Task::onUpdateParameters(), DUNE::Control::PathController::PathController(), Transports::CommManager::Task::sendViaSms(), Plan::Generator::Task::Task(), Monitors::FuelLevel::Task::Task(), Monitors::Medium::Task::Task(), Supervisors::AUV::Assist::Task::Task(), Control::AUV::Allocator::Task::Task(), Control::AUV::Speed::Task::Task(), Monitors::OperationalLimits::Task::Task(), Plan::Engine::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::PX4::Task::handlePositionPacket(), and Control::UAV::Ardupilot::Task::handlePositionPacket().
FileSystem::Path DUNE::Tasks::Context::dir_db |
Path to database directory.
Referenced by Context(), DUNE::Daemon::Daemon(), Plan::DB::Task::onResourceAcquisition(), Transports::Cache::Task::Task(), and Plan::Engine::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 |
Path to log directory.
Referenced by Vision::Lumenera::Task::consume(), Vision::DFK51BG02H::Task::consume(), Context(), DUNE::Daemon::Daemon(), and Transports::LoggingDigest::Task::startLog().
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(), Sensors::DataStore::Task::onEntityResolution(), Monitors::Entities::Task::onEntityResolution(), Transports::DataStore::Task::process(), 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 |
Parsers::Config DUNE::Tasks::Context::original_cfg |
Configuration loaded from disk.
Referenced by DUNE::Daemon::consume().
Profiles DUNE::Tasks::Context::profiles |
Execution profiles.
Referenced by DUNE::Navigation::BasicNavigation::BasicNavigation(), 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 DUNE::Control::BasicRemoteOperation::consume(), Sensors::DataStore::Task::consume(), Transports::DataStore::Task::consume(), Autonomy::TREX::Task::consume(), DUNE::Daemon::Daemon(), DUNE::Entities::BasicEntity::dispatch(), DUNE::Tasks::Task::getSystemId(), DUNE::Tasks::Task::getSystemName(), Transports::DataStore::Task::process(), 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().