Public Member Functions | Public Attributes | Private Attributes | List of all members
io::TcpIo Class Reference

#include <io.hpp>

Public Member Functions

void close ()
 
bool connect ()
 
void setPort (const std::string &port)
 
 TcpIo (ROSaicNodeBase *node, std::shared_ptr< boost::asio::io_service > ioService)
 
 ~TcpIo ()
 

Public Attributes

std::unique_ptr< boost::asio::ip::tcp::socket > stream_
 

Private Attributes

std::shared_ptr< boost::asio::io_service > ioService_
 
ROSaicNodeBasenode_
 
std::string port_
 

Detailed Description

Definition at line 237 of file io.hpp.

Constructor & Destructor Documentation

◆ TcpIo()

io::TcpIo::TcpIo ( ROSaicNodeBase node,
std::shared_ptr< boost::asio::io_service >  ioService 
)
inline

Definition at line 240 of file io.hpp.

◆ ~TcpIo()

io::TcpIo::~TcpIo ( )
inline

Definition at line 248 of file io.hpp.

Member Function Documentation

◆ close()

void io::TcpIo::close ( )
inline

Definition at line 250 of file io.hpp.

◆ connect()

bool io::TcpIo::connect ( )
inline

Definition at line 254 of file io.hpp.

◆ setPort()

void io::TcpIo::setPort ( const std::string &  port)
inline

Definition at line 252 of file io.hpp.

Member Data Documentation

◆ ioService_

std::shared_ptr<boost::asio::io_service> io::TcpIo::ioService_
private

Definition at line 300 of file io.hpp.

◆ node_

ROSaicNodeBase* io::TcpIo::node_
private

Definition at line 299 of file io.hpp.

◆ port_

std::string io::TcpIo::port_
private

Definition at line 302 of file io.hpp.

◆ stream_

std::unique_ptr<boost::asio::ip::tcp::socket> io::TcpIo::stream_

Definition at line 305 of file io.hpp.


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


septentrio_gnss_driver
Author(s): Tibor Dome
autogenerated on Wed Nov 22 2023 04:04:28