ROS2Sonic  0.2.0
A ROS2 driver for R2Sonic MBES
Loading...
Searching...
No Matches
r2sonic::DatatypeReceiver< PKT_T > Class Template Reference

#include <datatype_receiver.hpp>

Inheritance diagram for r2sonic::DatatypeReceiver< PKT_T >:
Collaboration diagram for r2sonic::DatatypeReceiver< PKT_T >:

Public Member Functions

 DatatypeReceiver (R2SonicNode *node_ptr)
 
virtual void receiveImpl (const boost::system::error_code &error, size_t bytes_transferred)
 
- Public Member Functions inherited from r2sonic::UdpReceiver
 UdpReceiver ()
 
void receiveHandler (const boost::system::error_code &error, size_t bytes_transferred)
 
void wait ()
 
void receive (const std::string &host, const std::string &port)
 
void receive (const std::string &host, const int &port)
 
char * startBit ()
 

Additional Inherited Members

- Protected Attributes inherited from r2sonic::UdpReceiver
boost::asio::io_context io_service_
 
boost::asio::ip::udp::socket socket_
 
boost::array< char, 262144 > recv_buffer_
 
boost::asio::ip::udp::endpoint remote_endpoint_
 
boost::asio::ip::udp::endpoint local_endpoint_
 

Constructor & Destructor Documentation

◆ DatatypeReceiver()

template<typename PKT_T >
NS_HEAD DatatypeReceiver::DatatypeReceiver ( r2sonic::R2SonicNode * node_ptr)

Member Function Documentation

◆ receiveImpl()

template<typename PKT_T >
void DatatypeReceiver::receiveImpl ( const boost::system::error_code & error,
size_t bytes_transferred )
virtual

Implements r2sonic::UdpReceiver.


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