NETSIM  1.0.0
Hardware-in-the-loopacousticnetworksimulator
goby::middleware::SerializerParserHelper< T, BOOST_SERIALIZATION_SCHEME > Struct Template Reference

#include </root/netsim/obj-x86_64-linux-gnu/include/netsim/core/boost_serialization.h>

Static Public Member Functions

static std::vector< char > serialize (const T &msg)
 
static std::string type_name (const T &t=T())
 
template<typename CharIterator >
static std::shared_ptr< T > parse (CharIterator bytes_begin, CharIterator bytes_end, CharIterator &actual_end, const std::string &type=type_name())
 

Detailed Description

template<typename T>
struct goby::middleware::SerializerParserHelper< T, BOOST_SERIALIZATION_SCHEME >

Definition at line 54 of file boost_serialization.h.

Member Function Documentation

◆ parse()

template<typename T >
template<typename CharIterator >
static std::shared_ptr<T> goby::middleware::SerializerParserHelper< T, BOOST_SERIALIZATION_SCHEME >::parse ( CharIterator  bytes_begin,
CharIterator  bytes_end,
CharIterator &  actual_end,
const std::string &  type = type_name() 
)
inlinestatic

Definition at line 72 of file boost_serialization.h.

◆ serialize()

template<typename T >
static std::vector<char> goby::middleware::SerializerParserHelper< T, BOOST_SERIALIZATION_SCHEME >::serialize ( const T &  msg)
inlinestatic

Definition at line 56 of file boost_serialization.h.

◆ type_name()

template<typename T >
static std::string goby::middleware::SerializerParserHelper< T, BOOST_SERIALIZATION_SCHEME >::type_name ( const T &  t = T())
inlinestatic

Definition at line 69 of file boost_serialization.h.


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