DUNE: Uniform Navigational Environment  2019.02.1
DUNE::Tasks::Context Struct Reference

Detailed Description

This structure serves the purpose of joining useful objects, usually shared by a large number of classes (namely Tasks).

Public Member Functions

 Context (void)
 

Public Attributes

Parsers::Config config
 
Parsers::Config original_cfg
 
IMC::Bus mbus
 
IMC::AddressResolver resolver
 
Entities::EntityDataBase entities
 
Profiles profiles
 
FileSystem::Path dir_app
 
FileSystem::Path dir_cfg
 
FileSystem::Path dir_usr_cfg
 
FileSystem::Path dir_www
 
FileSystem::Path dir_log
 
FileSystem::Path dir_lib
 
FileSystem::Path dir_i18n
 
FileSystem::Path dir_db
 
FileSystem::Path dir_scripts
 
uint64_t uid
 

Constructor & Destructor Documentation

Member Data Documentation

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(), Context(), and DUNE::Daemon::Daemon().

FileSystem::Path DUNE::Tasks::Context::dir_db

Path to database directory.

Referenced by Context(), and DUNE::Daemon::Daemon().

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 Context(), DUNE::Daemon::Daemon(), and DUNE::Daemon::writeParamsXML().

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().

Parsers::Config DUNE::Tasks::Context::original_cfg

Configuration loaded from disk.

Referenced by DUNE::Daemon::consume().

uint64_t DUNE::Tasks::Context::uid

UID of this instance.

Referenced by Context().

Collaboration diagram for DUNE::Tasks::Context:
Collaboration graph