Public Types | Public Member Functions | List of all members
io_comm_rx::Manager Class Referenceabstract

Interface (in C++ terms), that could be used for any I/O manager, synchronous and asynchronous alike. More...

#include <async_manager.hpp>

Inheritance diagram for io_comm_rx::Manager:
Inheritance graph
[legend]

Public Types

typedef boost::function< void(Timestamp, const uint8_t *, std::size_t &)> Callback
 

Public Member Functions

virtual bool isOpen () const =0
 Determines whether or not the connection is open. More...
 
virtual bool send (const std::string &cmd)=0
 Sends commands to the receiver. More...
 
virtual void setCallback (const Callback &callback)=0
 Sets the callback function. More...
 
virtual void wait (uint16_t *count)=0
 
virtual ~Manager ()
 

Detailed Description

Interface (in C++ terms), that could be used for any I/O manager, synchronous and asynchronous alike.

Definition at line 91 of file async_manager.hpp.

Member Typedef Documentation

◆ Callback

typedef boost::function<void(Timestamp, const uint8_t*, std::size_t&)> io_comm_rx::Manager::Callback

Definition at line 95 of file async_manager.hpp.

Constructor & Destructor Documentation

◆ ~Manager()

virtual io_comm_rx::Manager::~Manager ( )
inlinevirtual

Definition at line 96 of file async_manager.hpp.

Member Function Documentation

◆ isOpen()

virtual bool io_comm_rx::Manager::isOpen ( ) const
pure virtual

Determines whether or not the connection is open.

Implemented in io_comm_rx::AsyncManager< StreamT >.

◆ send()

virtual bool io_comm_rx::Manager::send ( const std::string &  cmd)
pure virtual

Sends commands to the receiver.

Implemented in io_comm_rx::AsyncManager< StreamT >.

◆ setCallback()

virtual void io_comm_rx::Manager::setCallback ( const Callback callback)
pure virtual

Sets the callback function.

Implemented in io_comm_rx::AsyncManager< StreamT >.

◆ wait()

virtual void io_comm_rx::Manager::wait ( uint16_t *  count)
pure virtual

Waits count seconds before throwing ROS_INFO message in case no message from the receiver arrived

Implemented in io_comm_rx::AsyncManager< StreamT >.


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


septentrio_gnss_driver
Author(s): Tibor Dome
autogenerated on Sat Mar 11 2023 03:12:56