DUNE: Uniform Navigational Environment
2016.09.0
|
Public Member Functions | |
Task (const std::string &name, Tasks::Context &ctx) | |
~Task (void) | |
void | onResourceInitialization (void) |
void | onResourceRelease (void) |
void | onUpdateParameters (void) |
void | consume (const IMC::LoggingControl *msg) |
void | consume (const IMC::CacheControl *msg) |
void | consume (const IMC::PowerOperation *msg) |
void | consume (const IMC::EntityInfo *msg) |
void | consume (const IMC::Message *msg) |
bool | changeVolumeDirectory (void) |
void | logAuxFiles (double time_ref) |
void | logFile (const std::string &file) |
void | stopLog (bool keep_logging=true) |
void | startLog (std::string label) |
void | tryFlush (void) |
void | tryRotate (void) |
void | tryStartLog (const std::string &label="") |
void | logMessage (const IMC::Message *msg) |
void | onMain (void) |
Public Attributes | |
double | m_last_flush |
std::string | m_label |
Path | m_dir |
std::string | m_volume_dir |
Compression::Methods | m_compression |
std::ostream * | m_lsf |
Path | m_lsf_file |
ByteBuffer | m_buffer |
IMC::LoggingControl | m_log_ctl |
bool | m_active |
Arguments | m_args |
|
inline |
|
inline |
References onResourceRelease().
|
inline |
References Transports::Logging::Arguments::lsf_volumes, m_args, and m_volume_dir.
Referenced by onMain(), and tryRotate().
|
inline |
References logMessage(), m_active, m_log_ctl, stopLog(), and tryStartLog().
|
inline |
References logFile().
|
inline |
References DUNE::Streams::Terminal::close(), and stopLog().
|
inline |
References logMessage().
|
inline |
References logMessage(), and m_active.
|
inline |
References logMessage(), m_dir, and DUNE::Streams::Terminal::open().
Referenced by startLog().
|
inline |
|
inline |
References m_buffer, and m_lsf.
Referenced by consume(), logAuxFiles(), startLog(), and stopLog().
|
inline |
References changeVolumeDirectory(), m_active, tryFlush(), and tryStartLog().
|
inline |
|
inline |
|
inline |
|
inline |
References logAuxFiles(), logMessage(), m_active, m_compression, m_dir, m_label, m_log_ctl, m_lsf, m_lsf_file, m_volume_dir, and stopLog().
Referenced by tryStartLog().
|
inline |
References logMessage(), m_active, m_log_ctl, m_lsf, and onResourceRelease().
Referenced by consume(), and startLog().
|
inline |
References Transports::Logging::Arguments::flush_interval, m_args, m_last_flush, and tryRotate().
Referenced by onMain().
|
inline |
References changeVolumeDirectory(), Transports::Logging::Arguments::lsf_volume_size, m_args, m_dir, m_label, m_lsf, m_lsf_file, and tryStartLog().
Referenced by tryFlush().
|
inline |
References m_active, and startLog().
Referenced by consume(), onMain(), and tryRotate().
bool Transports::Logging::Task::m_active |
Referenced by consume(), onMain(), startLog(), stopLog(), and tryStartLog().
Arguments Transports::Logging::Task::m_args |
Referenced by changeVolumeDirectory(), onUpdateParameters(), Task(), tryFlush(), and tryRotate().
ByteBuffer Transports::Logging::Task::m_buffer |
Referenced by logMessage().
Compression::Methods Transports::Logging::Task::m_compression |
Referenced by onUpdateParameters(), and startLog().
Path Transports::Logging::Task::m_dir |
Referenced by logAuxFiles(), startLog(), and tryRotate().
std::string Transports::Logging::Task::m_label |
Referenced by startLog(), and tryRotate().
double Transports::Logging::Task::m_last_flush |
Referenced by tryFlush().
IMC::LoggingControl Transports::Logging::Task::m_log_ctl |
Referenced by consume(), startLog(), stopLog(), and Task().
std::ostream* Transports::Logging::Task::m_lsf |
Referenced by logFile(), logMessage(), onResourceRelease(), startLog(), stopLog(), and tryRotate().
Path Transports::Logging::Task::m_lsf_file |
Referenced by startLog(), and tryRotate().
std::string Transports::Logging::Task::m_volume_dir |
Referenced by changeVolumeDirectory(), and startLog().