Namespaces | |
stream_types | |
Enum. | |
Classes | |
struct | ArraySerializer |
Array serializer, default implementation does nothing. More... | |
struct | ArraySerializer< T, N, typename boost::disable_if< mt::IsFixedSize< T > >::type > |
Array serializer, specialized for non-fixed-size, non-simple types. More... | |
struct | ArraySerializer< T, N, typename boost::enable_if< mpl::and_< mt::IsFixedSize< T >, mpl::not_< mt::IsSimple< T > > > >::type > |
Array serializer, specialized for fixed-size, non-simple types. More... | |
struct | ArraySerializer< T, N, typename boost::enable_if< mt::IsSimple< T > >::type > |
Array serializer, specialized for fixed-size, simple types. More... | |
struct | IStream |
Input stream. More... | |
struct | LStream |
Length stream. More... | |
struct | OStream |
Output stream. More... | |
struct | PreDeserialize |
called by the SubscriptionCallbackHelper after a message is instantiated but before that message is deserialized More... | |
struct | PreDeserializeParams |
struct | Serializer |
Templated serialization class. Default implementation provides backwards compatibility with old message types. More... | |
struct | Serializer< bool > |
Serializer specialized for bool (serialized as uint8) More... | |
struct | Serializer< ros::Duration > |
Serializer specialized for ros::Duration. More... | |
struct | Serializer< ros::Time > |
Serializer specialized for ros::Time. More... | |
struct | Serializer< std::basic_string< char, std::char_traits< char >, ContainerAllocator > > |
Serializer specialized for std::string. More... | |
struct | Stream |
Stream base-class, provides common functionality for IStream and OStream. More... | |
class | StreamOverrunException |
struct | VectorSerializer |
Vector serializer. Default implementation does nothing. More... | |
struct | VectorSerializer< T, ContainerAllocator, typename boost::disable_if< mt::IsFixedSize< T > >::type > |
Vector serializer, specialized for non-fixed-size, non-simple types. More... | |
struct | VectorSerializer< T, ContainerAllocator, typename boost::enable_if< mpl::and_< mt::IsFixedSize< T >, mpl::not_< mt::IsSimple< T > > > >::type > |
Vector serializer, specialized for fixed-size non-simple types. More... | |
struct | VectorSerializer< T, ContainerAllocator, typename boost::enable_if< mt::IsSimple< T > >::type > |
Vector serializer, specialized for fixed-size simple types. More... | |
Typedefs | |
typedef stream_types::StreamType | StreamType |
Functions | |
template<typename T , size_t N, typename Stream > | |
void | deserialize (Stream &stream, boost::array< T, N > &t) |
deserialize version for boost::array More... | |
template<typename T , class ContainerAllocator , typename Stream > | |
void | deserialize (Stream &stream, std::vector< T, ContainerAllocator > &t) |
deserialize version for std::vector More... | |
template<typename T , typename Stream > | |
void | deserialize (Stream &stream, T &t) |
Deserialize an object. Stream here should normally be a ros::serialization::IStream. More... | |
template<typename M > | |
void | deserializeMessage (const SerializedMessage &m, M &message) |
Deserialize a message. If includes_length is true, skips the first 4 bytes. More... | |
template<typename T , size_t N> | |
uint32_t | serializationLength (const boost::array< T, N > &t) |
serializationLength version for boost::array More... | |
template<typename T , class ContainerAllocator > | |
uint32_t | serializationLength (const std::vector< T, ContainerAllocator > &t) |
serializationLength version for std::vector More... | |
template<typename T > | |
uint32_t ROS_SERIALIZATION_GCC_9_3_DISABLE_VECTORIZE | serializationLength (const T &t) |
Determine the serialized length of an object. More... | |
template<typename T , size_t N, typename Stream > | |
void | serialize (Stream &stream, const boost::array< T, N > &t) |
serialize version for boost::array More... | |
template<typename T , class ContainerAllocator , typename Stream > | |
void | serialize (Stream &stream, const std::vector< T, ContainerAllocator > &t) |
serialize version for std::vector More... | |
template<typename T , typename Stream > | |
void | serialize (Stream &stream, const T &t) |
Serialize an object. Stream here should normally be a ros::serialization::OStream. More... | |
template<typename M > | |
SerializedMessage | serializeMessage (const M &message) |
Serialize a message. More... | |
template<typename M > | |
SerializedMessage | serializeServiceResponse (bool ok, const M &message) |
Serialize a service response. More... | |
ROSCPP_SERIALIZATION_DECL void | throwStreamOverrun () |
Definition at line 665 of file serialization.h.
|
inline |
deserialize version for boost::array
Definition at line 639 of file serialization.h.
|
inline |
deserialize version for std::vector
Definition at line 491 of file serialization.h.
|
inline |
Deserialize an object. Stream here should normally be a ros::serialization::IStream.
Definition at line 162 of file serialization.h.
|
inline |
Deserialize a message. If includes_length is true, skips the first 4 bytes.
Definition at line 868 of file serialization.h.
|
inline |
serializationLength version for boost::array
Definition at line 648 of file serialization.h.
|
inline |
serializationLength version for std::vector
Definition at line 500 of file serialization.h.
|
inline |
Determine the serialized length of an object.
Definition at line 178 of file serialization.h.
|
inline |
serialize version for boost::array
Definition at line 630 of file serialization.h.
|
inline |
serialize version for std::vector
Definition at line 482 of file serialization.h.
|
inline |
Serialize an object. Stream here should normally be a ros::serialization::OStream.
Definition at line 153 of file serialization.h.
|
inline |
Serialize a message.
Definition at line 812 of file serialization.h.
|
inline |
Serialize a service response.
Definition at line 831 of file serialization.h.
void ros::serialization::throwStreamOverrun | ( | ) |
Definition at line 34 of file serialization.cpp.