Goby3  3.1.5a
2024.05.23
goby::middleware::frontseat::SV2SerialConnection Class Reference

#include <goby/middleware/frontseat/waveglider/waveglider_sv2_serial_client.h>

Inheritance diagram for goby::middleware::frontseat::SV2SerialConnection:

Public Member Functions

boost::asio::serial_port & socket ()
 
void start ()
 
void close ()
 
void read_start ()
 
void write_start (std::string data)
 
 ~SV2SerialConnection ()=default
 

Static Public Member Functions

static std::shared_ptr< SV2SerialConnectioncreate (boost::asio::io_context &io_context, std::string name, int baud=115200)
 

Public Attributes

boost::signals2::signal< void(const std::string &message)> message_signal
 

Detailed Description

Definition at line 41 of file waveglider_sv2_serial_client.h.

Constructor & Destructor Documentation

◆ ~SV2SerialConnection()

goby::middleware::frontseat::SV2SerialConnection::~SV2SerialConnection ( )
default

Member Function Documentation

◆ close()

void goby::middleware::frontseat::SV2SerialConnection::close ( )
inline

Definition at line 55 of file waveglider_sv2_serial_client.h.

◆ create()

static std::shared_ptr<SV2SerialConnection> goby::middleware::frontseat::SV2SerialConnection::create ( boost::asio::io_context io_context,
std::string  name,
int  baud = 115200 
)
inlinestatic

Definition at line 44 of file waveglider_sv2_serial_client.h.

◆ read_start()

void goby::middleware::frontseat::SV2SerialConnection::read_start ( )
inline

Definition at line 57 of file waveglider_sv2_serial_client.h.

◆ socket()

boost::asio::serial_port& goby::middleware::frontseat::SV2SerialConnection::socket ( )
inline

Definition at line 51 of file waveglider_sv2_serial_client.h.

◆ start()

void goby::middleware::frontseat::SV2SerialConnection::start ( )
inline

Definition at line 53 of file waveglider_sv2_serial_client.h.

◆ write_start()

void goby::middleware::frontseat::SV2SerialConnection::write_start ( std::string  data)
inline

Definition at line 67 of file waveglider_sv2_serial_client.h.

Member Data Documentation

◆ message_signal

boost::signals2::signal<void(const std::string& message)> goby::middleware::frontseat::SV2SerialConnection::message_signal

Definition at line 76 of file waveglider_sv2_serial_client.h.


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