DUNE: Uniform Navigational Environment
2016.05.0
|
Public Member Functions | |
Task (const std::string &name, Tasks::Context &ctx) | |
~Task (void) | |
void | onEntityResolution (void) |
void | onUpdateParameters (void) |
void | onResourceAcquisition (void) |
void | onResourceRelease (void) |
void | onResourceInitialization (void) |
unsigned | lookupSystemAddress (const std::string &name) |
std::string | lookupSystemName (unsigned addr) |
std::string | safeLookup (unsigned addr) |
void | consume (const IMC::SoundSpeed *msg) |
void | consume (const IMC::VehicleMedium *msg) |
void | consume (const IMC::DevDataText *msg) |
void | clearTicket (IMC::UamTxStatus::ValueEnum reason, const std::string &error="") |
void | replaceTicket (const Ticket &ticket) |
void | sendTxStatus (const Ticket &ticket, IMC::UamTxStatus::ValueEnum value, const std::string &error="") |
void | consume (const IMC::UamTxFrame *msg) |
void | handleMessageFailed (const std::string &str) |
void | handleMessageDelivered (const std::string &str) |
void | handleSendEnd (const std::string &str) |
void | handleInstantMessage (const std::string &str, bool piggyback) |
void | handleBurstMessage (const std::string &str) |
void | keepAlive (void) |
void | onMain (void) |
Public Attributes | |
MapName | m_modem_names |
MapAddr | m_modem_addrs |
TCPSocket * | m_sock |
unsigned | m_address |
Driver * | m_driver |
double | m_sound_speed |
int | m_sound_speed_eid |
Ticket * | m_ticket |
Counter< double > | m_kalive_counter |
IMC::VehicleMedium | m_medium |
Arguments | m_args |
|
inline |
References Transports::Evologics::Arguments::address, Transports::Evologics::Arguments::con_idle_tout, Transports::Evologics::Arguments::con_retry_count, Transports::Evologics::Arguments::con_retry_tout, Transports::Evologics::Arguments::highest_addr, Transports::Evologics::Arguments::im_retry_count, Transports::Evologics::Arguments::kalive_tout, Transports::Evologics::Arguments::low_gain, m_address, m_args, m_medium, m_modem_addrs, m_modem_names, Transports::Evologics::Arguments::pool_size, Transports::Evologics::Arguments::port, Transports::Evologics::Arguments::sound_speed_def, Transports::Evologics::Arguments::sound_speed_elabel, Transports::Evologics::Arguments::source_level, Transports::Evologics::Arguments::src_level_control, Transports::Evologics::Arguments::src_level_underwater, Transports::Evologics::Arguments::src_level_unknown, and Transports::Evologics::Arguments::src_level_water.
|
inline |
References onResourceRelease().
|
inline |
References m_ticket, and sendTxStatus().
Referenced by handleMessageDelivered(), handleMessageFailed(), handleSendEnd(), onResourceRelease(), and replaceTicket().
|
inline |
References m_sound_speed, and m_sound_speed_eid.
|
inline |
References m_args, m_driver, m_medium, Transports::Evologics::Driver::setSourceLevel(), Transports::Evologics::Arguments::src_level_control, Transports::Evologics::Arguments::src_level_underwater, Transports::Evologics::Arguments::src_level_unknown, and Transports::Evologics::Arguments::src_level_water.
|
inline |
|
inline |
References Transports::Evologics::Ticket::ack, Transports::Evologics::Ticket::addr, Transports::Evologics::Ticket::imc_eid, Transports::Evologics::Ticket::imc_sid, lookupSystemAddress(), m_driver, m_kalive_counter, Transports::Evologics::Ticket::pbm, replaceTicket(), DUNE::Time::Counter< T >::reset(), Transports::Evologics::Driver::sendBurst(), Transports::Evologics::Driver::sendIM(), Transports::Evologics::Driver::sendPBM(), sendTxStatus(), and Transports::Evologics::Ticket::seq.
|
inline |
References Transports::Evologics::RecvIM::data, Transports::Evologics::RecvIM::dst, Transports::Evologics::Driver::getMultipathStructure(), Transports::Evologics::RecvIM::integrity, m_driver, Transports::Evologics::Driver::parseReceivedBurst(), Transports::Evologics::RecvIM::rssi, safeLookup(), and Transports::Evologics::RecvIM::src.
Referenced by consume().
|
inline |
References Transports::Evologics::RecvIM::data, Transports::Evologics::RecvIM::dst, Transports::Evologics::Driver::getMultipathStructure(), Transports::Evologics::RecvIM::integrity, m_address, m_driver, Transports::Evologics::Driver::parse(), Transports::Evologics::RecvIM::rssi, safeLookup(), and Transports::Evologics::RecvIM::src.
Referenced by consume().
|
inline |
|
inline |
References clearTicket(), and m_driver.
Referenced by consume().
|
inline |
References Transports::Evologics::Ticket::ack, clearTicket(), m_driver, and m_ticket.
Referenced by consume().
|
inline |
References Transports::Evologics::Driver::getClock(), m_driver, m_kalive_counter, DUNE::Time::Counter< T >::overflow(), and DUNE::Time::Counter< T >::reset().
Referenced by onMain().
|
inline |
References m_modem_names.
Referenced by consume().
|
inline |
References m_modem_addrs.
Referenced by handleMessageDelivered(), and safeLookup().
|
inline |
|
inline |
References keepAlive().
|
inline |
|
inline |
References Transports::Evologics::Arguments::con_idle_tout, Transports::Evologics::Arguments::con_retry_count, Transports::Evologics::Arguments::con_retry_tout, Transports::Evologics::Arguments::highest_addr, Transports::Evologics::Arguments::im_retry_count, Transports::Evologics::Arguments::kalive_tout, Transports::Evologics::Arguments::low_gain, m_address, m_args, m_driver, m_kalive_counter, Transports::Evologics::Driver::setAddress(), Transports::Evologics::Driver::setExtendedNotifications(), Transports::Evologics::Driver::setHighestAddress(), Transports::Evologics::Driver::setIdleTimeout(), Transports::Evologics::Driver::setLowGain(), Transports::Evologics::Driver::setPositionDataOutput(), Transports::Evologics::Driver::setPromiscuous(), Transports::Evologics::Driver::setRetryCount(), Transports::Evologics::Driver::setRetryCountIM(), Transports::Evologics::Driver::setRetryTimeout(), Transports::Evologics::Driver::setSourceLevel(), DUNE::Time::Counter< T >::setTop(), and Transports::Evologics::Arguments::source_level.
|
inline |
References clearTicket(), m_driver, and m_sock.
Referenced by ~Task().
|
inline |
References m_args, m_sound_speed, and Transports::Evologics::Arguments::sound_speed_def.
|
inline |
References clearTicket(), and m_ticket.
Referenced by consume().
|
inline |
References lookupSystemName().
Referenced by handleBurstMessage(), and handleInstantMessage().
|
inline |
References Transports::Evologics::Ticket::imc_eid, Transports::Evologics::Ticket::imc_sid, and Transports::Evologics::Ticket::seq.
Referenced by clearTicket(), and consume().
unsigned Transports::Evologics::Task::m_address |
Modem address.
Referenced by handleInstantMessage(), onResourceInitialization(), and Task().
Arguments Transports::Evologics::Task::m_args |
Task arguments.
Referenced by consume(), onEntityResolution(), onResourceAcquisition(), onResourceInitialization(), onUpdateParameters(), and Task().
Driver* Transports::Evologics::Task::m_driver |
Counter<double> Transports::Evologics::Task::m_kalive_counter |
Keep-alive counter.
Referenced by consume(), keepAlive(), and onResourceInitialization().
IMC::VehicleMedium Transports::Evologics::Task::m_medium |
MapAddr Transports::Evologics::Task::m_modem_addrs |
Map of Evologics modems by address.
Referenced by lookupSystemName(), and Task().
MapName Transports::Evologics::Task::m_modem_names |
Map of Evologics modems by name.
Referenced by lookupSystemAddress(), and Task().
TCPSocket* Transports::Evologics::Task::m_sock |
TCP socket.
Referenced by onResourceAcquisition(), and onResourceRelease().
double Transports::Evologics::Task::m_sound_speed |
Referenced by consume(), handleMessageDelivered(), onEntityResolution(), and onUpdateParameters().
int Transports::Evologics::Task::m_sound_speed_eid |
Sound speed entity id.
Referenced by consume(), and onEntityResolution().
Ticket* Transports::Evologics::Task::m_ticket |
Current transmission ticket.
Referenced by clearTicket(), handleMessageDelivered(), handleSendEnd(), and replaceTicket().