SRS-control 0.1.4
Loading...
Searching...
No Matches
srs::connection::Starter Class Reference

#include <Connections.hpp>

Collaboration diagram for srs::connection::Starter:

Public Member Functions

 Starter (std::string_view name)
 Starter ()
void close ()
Public Member Functions inherited from srs::connection::CommandBase
 CommandBase (const std::string_view name)
void send_message_from (this auto &&self, const std::shared_ptr< FecCommandSocket > &socket)
auto check_response (std::span< char > response_msg) const -> bool
void set_remote_endpoint (asio::ip::udp::endpoint endpoint)
auto get_name () const -> std::string_view
auto get_remote_endpoint () -> const udp::endpoint &
auto get_response_msg () const -> std::string_view
auto get_remote_ip_string () const
auto get_remote_port () const

Static Public Member Functions

static auto get_send_suffix () -> const auto &
static auto get_suffix () -> std::span< const CommunicateEntryType >

Static Private Attributes

static constexpr std::array< CommunicateEntryType, 3 > send_suffix_ = { 0, 15, 1 }

Additional Inherited Members

Protected Member Functions inherited from srs::connection::CommandBase
void set_write_response_msg (const std::vector< CommunicateEntryType > &msg, uint16_t address)

Detailed Description

Definition at line 20 of file Connections.hpp.

Constructor & Destructor Documentation

◆ Starter() [1/2]

srs::connection::Starter::Starter ( std::string_view name)
explicit

Definition at line 11 of file Connections.cpp.

◆ Starter() [2/2]

srs::connection::Starter::Starter ( )

Definition at line 18 of file Connections.cpp.

Member Function Documentation

◆ close()

void srs::connection::Starter::close ( )

◆ get_send_suffix()

auto srs::connection::Starter::get_send_suffix ( ) ->constauto &
inlinestatic

Definition at line 26 of file Connections.hpp.

◆ get_suffix()

auto srs::connection::Starter::get_suffix ( ) ->std::span< constCommunicateEntryType >
inlinestatic

Definition at line 27 of file Connections.hpp.

Member Data Documentation

◆ send_suffix_

std::array<CommunicateEntryType, 3> srs::connection::Starter::send_suffix_ = { 0, 15, 1 }
staticconstexprprivate

Definition at line 33 of file Connections.hpp.


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