ctd_seabird
Public Member Functions | Protected Member Functions | List of all members
ctd_seabird::Driver Class Reference

#include <Driver.hpp>

Inheritance diagram for ctd_seabird::Driver:

Public Member Functions

 Driver ()
 
void open (std::string const &uri)
 
void collectPeriodicData ()
 
ctd_seabird::CtdData getData () const
 
void dumpData () const
 

Protected Member Functions

std::string read (int timeout)
 
int extractPacket (uint8_t const *buffer, size_t buffer_size) const
 

Constructor & Destructor Documentation

◆ Driver()

Driver::Driver ( )

Member Function Documentation

◆ collectPeriodicData()

void Driver::collectPeriodicData ( )

Reads available data and update the data structure. If this method returns true, then data has been updated with a new, synchronized set of information. Otherwise, call collectPeriodicData again.

◆ dumpData()

void Driver::dumpData ( ) const

◆ extractPacket()

int Driver::extractPacket ( uint8_t const *  buffer,
size_t  buffer_size 
) const
protected

Extract an ASCII line from incoming Data

◆ getData()

ctd_seabird::CtdData Driver::getData ( ) const

◆ open()

void Driver::open ( std::string const &  uri)

Tries to access the CTD at the provided URI

◆ read()

std::string Driver::read ( int  timeout)
protected

Read available packets on the I/O


The documentation for this class was generated from the following files: