DUNE: Uniform Navigational Environment
2.5.0-rc1
|
Public Types | |
typedef std::map< int, IMC::RemoteState > | RStateMap |
Public Member Functions | |
Task (const std::string &name, Tasks::Context &ctx) | |
~Task (void) | |
void | onUpdateParameters (void) |
void | onResourceAcquisition (void) |
void | onResourceRelease (void) |
void | share (const IMC::Message *msg) |
void | updatePosition (const IMC::RemoteState *rstate) |
double | distance (int src, int dst) |
void | updateKnowledge (const IMC::UASimulation *m) |
void | consume (const IMC::GpsFix *msg) |
void | consume (const IMC::SimulatedState *msg) |
void | consume (const IMC::UASimulation *msg) |
void | onMain (void) |
void | checkIncomingData (void) |
Public Attributes | |
Arguments | m_args |
bool | m_setup |
bool | m_fixed_location |
uint16_t | m_local_imc_addr |
IMC::GpsFix | m_origin |
IMC::RemoteState | m_lstate |
RStateMap | m_positions |
IMC::UASimulation * | m_pending |
double | m_busy_till |
double | m_send_time |
UDPSocket * | m_sock |
uint8_t | m_buf [1024] |
typedef std::map<int, IMC::RemoteState> Simulators::UnderwaterAcoustics::Task::RStateMap |
|
inline |
References Simulators::UnderwaterAcoustics::Arguments::label_gps, Simulators::UnderwaterAcoustics::Arguments::location, m_args, m_local_imc_addr, m_lstate, Simulators::UnderwaterAcoustics::Arguments::trace, Simulators::UnderwaterAcoustics::Arguments::udp_maddr, and Simulators::UnderwaterAcoustics::Arguments::udp_port.
|
inline |
References onResourceRelease().
|
inline |
References m_buf, m_sock, updateKnowledge(), and updatePosition().
Referenced by onMain().
|
inline |
References m_busy_till, m_fixed_location, m_origin, and m_setup.
|
inline |
References m_fixed_location, m_lstate, m_origin, m_setup, and share().
|
inline |
References m_args, share(), and Simulators::UnderwaterAcoustics::Arguments::trace.
|
inline |
References m_positions.
Referenced by updateKnowledge(), and updatePosition().
|
inline |
|
inline |
|
inline |
|
inline |
References Simulators::UnderwaterAcoustics::Arguments::location, m_args, m_fixed_location, m_lstate, and m_setup.
|
inline |
|
inline |
References distance(), m_busy_till, m_local_imc_addr, m_pending, m_send_time, and m_setup.
Referenced by checkIncomingData().
|
inline |
References distance(), m_args, m_local_imc_addr, m_positions, and Simulators::UnderwaterAcoustics::Arguments::trace.
Referenced by checkIncomingData().
Arguments Simulators::UnderwaterAcoustics::Task::m_args |
Referenced by consume(), onMain(), onResourceAcquisition(), onUpdateParameters(), share(), Task(), and updatePosition().
uint8_t Simulators::UnderwaterAcoustics::Task::m_buf[1024] |
Referenced by checkIncomingData(), and share().
double Simulators::UnderwaterAcoustics::Task::m_busy_till |
Referenced by consume(), and updateKnowledge().
bool Simulators::UnderwaterAcoustics::Task::m_fixed_location |
Referenced by consume(), onMain(), and onUpdateParameters().
uint16_t Simulators::UnderwaterAcoustics::Task::m_local_imc_addr |
Referenced by Task(), updateKnowledge(), and updatePosition().
IMC::RemoteState Simulators::UnderwaterAcoustics::Task::m_lstate |
Referenced by consume(), onMain(), onUpdateParameters(), and Task().
IMC::GpsFix Simulators::UnderwaterAcoustics::Task::m_origin |
Referenced by consume().
IMC::UASimulation* Simulators::UnderwaterAcoustics::Task::m_pending |
Referenced by onMain(), onResourceRelease(), and updateKnowledge().
RStateMap Simulators::UnderwaterAcoustics::Task::m_positions |
Referenced by distance(), and updatePosition().
double Simulators::UnderwaterAcoustics::Task::m_send_time |
Referenced by onMain(), and updateKnowledge().
bool Simulators::UnderwaterAcoustics::Task::m_setup |
Referenced by consume(), onUpdateParameters(), and updateKnowledge().
UDPSocket* Simulators::UnderwaterAcoustics::Task::m_sock |
Referenced by checkIncomingData(), onResourceAcquisition(), onResourceRelease(), and share().