DUNE: Uniform Navigational Environment  2020.01.0
Sensors::OEMX::DriverOEMX Class Reference

Classes

struct  CTDData
 

Public Member Functions

 DriverOEMX (DUNE::Tasks::Task *task, SerialPort *uart, Poll poll)
 
 ~DriverOEMX (void)
 
bool initCTD (int numberSamples)
 
bool getInfoOfCTD ()
 
void getFirmwareVersion (std::string text)
 
std::string getInfoMount (std::string text)
 
bool sendCommand (const char *cmd, const char *reply)
 
bool haveNewData (int numberSensors)
 

Public Attributes

SerialPort * m_uart
 
Poll m_poll
 
CTDData m_ctdData
 

Constructor & Destructor Documentation

Sensors::OEMX::DriverOEMX::DriverOEMX ( DUNE::Tasks::Task task,
SerialPort *  uart,
Poll  poll 
)
inline
Sensors::OEMX::DriverOEMX::~DriverOEMX ( void  )
inline

Member Function Documentation

void Sensors::OEMX::DriverOEMX::getFirmwareVersion ( std::string  text)
inline
std::string Sensors::OEMX::DriverOEMX::getInfoMount ( std::string  text)
inline

Referenced by getInfoOfCTD().

bool Sensors::OEMX::DriverOEMX::haveNewData ( int  numberSensors)
inline
bool Sensors::OEMX::DriverOEMX::initCTD ( int  numberSamples)
inline
bool Sensors::OEMX::DriverOEMX::sendCommand ( const char *  cmd,
const char *  reply 
)
inline

Member Data Documentation

Poll Sensors::OEMX::DriverOEMX::m_poll

Interrupt/Poll for serial port.

SerialPort* Sensors::OEMX::DriverOEMX::m_uart

Serial port.

Collaboration diagram for Sensors::OEMX::DriverOEMX:
Collaboration graph