DUNE: Uniform Navigational Environment
2.5.0-rc1
|
Task.
Public Member Functions | |
Task (const std::string &name, Tasks::Context &ctx) | |
void | onUpdateParameters (void) |
void | onResourceInitialization (void) |
void | onResourceRelease (void) |
void | setAddress (void) |
void | getData (void) |
void | task (void) |
Public Attributes | |
TCPSocket * | m_sock |
Counter< float > | m_wdog |
Arguments | m_args |
|
inline |
Constructor.
References Sensors::Genesys::Arguments::addr, Sensors::Genesys::Arguments::ip, m_args, and Sensors::Genesys::Arguments::port.
|
inline |
Extract data from device.
References m_sock, m_wdog, and DUNE::Time::Counter< T >::reset().
Referenced by task().
|
inline |
Initialize resources.
References Sensors::Genesys::Arguments::ip, m_args, m_sock, Sensors::Genesys::Arguments::port, and setAddress().
|
inline |
Release resources.
References m_sock.
|
inline |
Update task parameters.
References Sensors::Genesys::Arguments::addr, Sensors::Genesys::Arguments::ip, m_args, m_wdog, Sensors::Genesys::Arguments::port, and DUNE::Time::Counter< T >::setTop().
|
inline |
Send node address to establish communication.
References Sensors::Genesys::Arguments::addr, m_args, and m_sock.
Referenced by onResourceInitialization().
|
inline |
References getData(), m_sock, m_wdog, DUNE::Time::Counter< T >::overflow(), and DUNE::Time::Counter< T >::reset().
Arguments Sensors::Genesys::Task::m_args |
Configuration parameters.
Referenced by onResourceInitialization(), onUpdateParameters(), setAddress(), and Task().
TCPSocket* Sensors::Genesys::Task::m_sock |
TCP socket.
Referenced by getData(), onResourceInitialization(), onResourceRelease(), setAddress(), and task().
Counter<float> Sensors::Genesys::Task::m_wdog |
Input Watchdog.
Referenced by getData(), onUpdateParameters(), and task().