Goby3  3.1.5a
2024.05.23
goby::acomms::directip::SBDMessageReader Class Referenceabstract

#include <goby/acomms/modemdriver/iridium_shore_sbd_directip.h>

Inheritance diagram for goby::acomms::directip::SBDMessageReader:
goby::acomms::directip::SBDMOMessageReader goby::acomms::directip::SBDMTConfirmationMessageReader

Public Types

enum  { PRE_HEADER_SIZE = 3, BITS_PER_BYTE = 8 }
 

Public Member Functions

 SBDMessageReader (boost::asio::ip::tcp::socket &socket)
 
virtual bool data_ready () const =0
 
const goby::acomms::iridium::protobuf::DirectIPMOPreHeaderpre_header () const
 
const goby::acomms::iridium::protobuf::DirectIPMOHeaderheader () const
 
const goby::acomms::iridium::protobuf::DirectIPMOPayloadbody () const
 
const goby::acomms::iridium::protobuf::DirectIPMTConfirmationconfirm () const
 
void pre_header_handler (const boost::system::error_code &error, std::size_t bytes_transferred)
 
std::vector< char > & data ()
 

Detailed Description

Definition at line 45 of file iridium_shore_sbd_directip.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
PRE_HEADER_SIZE 
BITS_PER_BYTE 

Definition at line 66 of file iridium_shore_sbd_directip.h.

Constructor & Destructor Documentation

◆ SBDMessageReader()

goby::acomms::directip::SBDMessageReader::SBDMessageReader ( boost::asio::ip::tcp::socket &  socket)
inline

Definition at line 48 of file iridium_shore_sbd_directip.h.

Member Function Documentation

◆ body()

const goby::acomms::iridium::protobuf::DirectIPMOPayload& goby::acomms::directip::SBDMessageReader::body ( ) const
inline

Definition at line 60 of file iridium_shore_sbd_directip.h.

◆ confirm()

const goby::acomms::iridium::protobuf::DirectIPMTConfirmation& goby::acomms::directip::SBDMessageReader::confirm ( ) const
inline

Definition at line 61 of file iridium_shore_sbd_directip.h.

◆ data()

std::vector<char>& goby::acomms::directip::SBDMessageReader::data ( )
inline

Definition at line 87 of file iridium_shore_sbd_directip.h.

◆ data_ready()

virtual bool goby::acomms::directip::SBDMessageReader::data_ready ( ) const
pure virtual

◆ header()

const goby::acomms::iridium::protobuf::DirectIPMOHeader& goby::acomms::directip::SBDMessageReader::header ( ) const
inline

Definition at line 59 of file iridium_shore_sbd_directip.h.

◆ pre_header()

const goby::acomms::iridium::protobuf::DirectIPMOPreHeader& goby::acomms::directip::SBDMessageReader::pre_header ( ) const
inline

Definition at line 55 of file iridium_shore_sbd_directip.h.

◆ pre_header_handler()

void goby::acomms::directip::SBDMessageReader::pre_header_handler ( const boost::system::error_code &  error,
std::size_t  bytes_transferred 
)
inline

Definition at line 72 of file iridium_shore_sbd_directip.h.


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