Static Public Member Functions | List of all members
ros::serialization::Serializer< swarmros::introspection::Message > Struct Template Reference

Trait to perform the serialization and deserialization of a Message instance - incomplete, actual implementation must call this first to detect the message header then do its own extraction. More...

#include <Message.h>

Static Public Member Functions

template<typename Stream >
static void read (Stream &stream, swarmros::introspection::Message &message)
 Reads the header from the stream, if present. More...
 
static uint32_t serializedLength (const swarmros::introspection::Message &message)
 Calculates the size of the header, if present. More...
 
template<typename Stream >
static void write (Stream &stream, const swarmros::introspection::Message &message)
 Writes the header to the stream, if present. More...
 

Detailed Description

template<>
struct ros::serialization::Serializer< swarmros::introspection::Message >

Trait to perform the serialization and deserialization of a Message instance - incomplete, actual implementation must call this first to detect the message header then do its own extraction.

Definition at line 257 of file Message.h.

Member Function Documentation

template<typename Stream >
static void ros::serialization::Serializer< swarmros::introspection::Message >::read ( Stream stream,
swarmros::introspection::Message message 
)
inlinestatic

Reads the header from the stream, if present.

Parameters
streamStream
messageMessage

Definition at line 315 of file Message.h.

static uint32_t ros::serialization::Serializer< swarmros::introspection::Message >::serializedLength ( const swarmros::introspection::Message message)
inlinestatic

Calculates the size of the header, if present.

Parameters
messageMessage
Returns
uint32_t

Definition at line 265 of file Message.h.

template<typename Stream >
static void ros::serialization::Serializer< swarmros::introspection::Message >::write ( Stream stream,
const swarmros::introspection::Message message 
)
inlinestatic

Writes the header to the stream, if present.

Parameters
streamStream
messageMessage

Definition at line 292 of file Message.h.


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


swarmros
Author(s):
autogenerated on Fri Apr 3 2020 03:42:48