DUNE: Uniform Navigational Environment  2020.01.0
Simulators::AcousticModem::Operation Struct Reference

Detailed Description

Structure holding transmission/reception operation parameters.

Public Member Functions

 Operation (const Operation &op)
 
 Operation (const bool &a_is_tx, const double &a_start_time, const SimAcousticMessage &a_msg)
 

Public Attributes

bool is_tx
 
double start_time
 
IMC::SimAcousticMessage msg
 

Constructor & Destructor Documentation

Simulators::AcousticModem::Operation::Operation ( const Operation op)
inline
Simulators::AcousticModem::Operation::Operation ( const bool &  a_is_tx,
const double &  a_start_time,
const SimAcousticMessage &  a_msg 
)
inline

Member Data Documentation

bool Simulators::AcousticModem::Operation::is_tx

Transmission flag.

Referenced by Simulators::AcousticModem::Driver::distance().

IMC::SimAcousticMessage Simulators::AcousticModem::Operation::msg

Message to handle.

Referenced by Simulators::AcousticModem::Driver::distance().

double Simulators::AcousticModem::Operation::start_time

Absolute time to start receiving.

Referenced by Simulators::AcousticModem::Driver::distance().

Collaboration diagram for Simulators::AcousticModem::Operation:
Collaboration graph