DUNE: Uniform Navigational Environment
2017.01.0
|
Public Member Functions | |
Task (const std::string &name, Tasks::Context &ctx) | |
void | onUpdateParameters (void) |
void | onEntityResolution (void) |
void | onResourceInitialization (void) |
void | onResourceRelease (void) |
void | writeHeader (std::ofstream &file, MetaData *m, double timestamp) |
void | writeLine (std::ofstream &file, double timestamp, const IMC::EstimatedState *state, const IMC::RhodamineDye *rdye, const IMC::Voltage *raw, const IMC::Temperature *temp=NULL) |
void | openLog (const Path &path) |
void | closeLog (void) |
void | consume (const IMC::LoggingControl *msg) |
void | consume (const IMC::EstimatedState *msg) |
void | consume (const IMC::RhodamineDye *msg) |
void | consume (const IMC::Voltage *msg) |
void | consume (const IMC::Temperature *msg) |
void | onMain (void) |
Public Attributes | |
std::ofstream | m_log_file |
Path | m_log_path |
bool | m_wrote_header |
IMC::EstimatedState | m_estate |
unsigned | m_temp_id |
unsigned | m_rhod_id |
IMC::Temperature | m_temperature |
IMC::Voltage | m_raw |
Arguments | m_args |
|
inline |
References Transports::LoggingURR4OS::Arguments::log_raw, m_args, Transports::LoggingURR4OS::Arguments::md, Transports::LoggingURR4OS::Arguments::rhodamine_label, Transports::LoggingURR4OS::MetaData::sname, Transports::LoggingURR4OS::Arguments::temp_label, and Transports::LoggingURR4OS::MetaData::type.
|
inline |
References m_log_file, and m_log_path.
|
inline |
References closeLog(), and openLog().
|
inline |
References m_estate.
|
inline |
|
inline |
|
inline |
References m_temp_id, and m_temperature.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References closeLog(), m_log_file, m_log_path, and m_wrote_header.
Referenced by consume().
|
inline |
|
inline |
References Transports::LoggingURR4OS::c_msg_delay.
Referenced by consume().
Arguments Transports::LoggingURR4OS::Task::m_args |
Task arguments.
Referenced by consume(), onEntityResolution(), onUpdateParameters(), and Task().
IMC::EstimatedState Transports::LoggingURR4OS::Task::m_estate |
EstimatedState message.
Referenced by consume().
std::ofstream Transports::LoggingURR4OS::Task::m_log_file |
Log file.
Referenced by closeLog(), consume(), and openLog().
Path Transports::LoggingURR4OS::Task::m_log_path |
Log filename.
Referenced by closeLog(), and openLog().
IMC::Voltage Transports::LoggingURR4OS::Task::m_raw |
Voltage message for raw data.
Referenced by consume().
unsigned Transports::LoggingURR4OS::Task::m_rhod_id |
Rhodamine entity id.
Referenced by consume(), and onEntityResolution().
unsigned Transports::LoggingURR4OS::Task::m_temp_id |
Temperature entity id.
Referenced by consume(), and onEntityResolution().
IMC::Temperature Transports::LoggingURR4OS::Task::m_temperature |
Temperature message.
Referenced by consume().
bool Transports::LoggingURR4OS::Task::m_wrote_header |