Public Member Functions | List of all members
moveit::py_bindings_tools::ByteString Class Reference

C++ Wrapper class for Python 3 Bytes Object. More...

#include <serialize_msg.h>

Inheritance diagram for moveit::py_bindings_tools::ByteString:
Inheritance graph
[legend]

Public Member Functions

 ByteString ()
 
template<typename T >
 ByteString (const boost::python::api::proxy< T > &proxy)
 
 ByteString (const char *s)
 
 ByteString (const std::string &s)
 
template<typename T , typename std::enable_if< ros::message_traits::IsMessage< T >::value, int >::type = 0>
 ByteString (const T &msg)
 Serializes a ROS message into a Python Bytes object The second template parameter ensures that this overload is only chosen with a ROS message argument. More...
 
template<typename T >
void deserialize (T &msg) const
 Convert content to a ROS message. More...
 

Detailed Description

C++ Wrapper class for Python 3 Bytes Object.

Definition at line 115 of file serialize_msg.h.

Constructor & Destructor Documentation

◆ ByteString() [1/5]

moveit::py_bindings_tools::ByteString::ByteString ( )
inline

Definition at line 152 of file serialize_msg.h.

◆ ByteString() [2/5]

moveit::py_bindings_tools::ByteString::ByteString ( const char *  s)
inlineexplicit

Definition at line 155 of file serialize_msg.h.

◆ ByteString() [3/5]

moveit::py_bindings_tools::ByteString::ByteString ( const std::string &  s)
inlineexplicit

Definition at line 158 of file serialize_msg.h.

◆ ByteString() [4/5]

template<typename T >
moveit::py_bindings_tools::ByteString::ByteString ( const boost::python::api::proxy< T > &  proxy)
inlineexplicit

Definition at line 164 of file serialize_msg.h.

◆ ByteString() [5/5]

template<typename T , typename std::enable_if< ros::message_traits::IsMessage< T >::value, int >::type = 0>
moveit::py_bindings_tools::ByteString::ByteString ( const T &  msg)
inlineexplicit

Serializes a ROS message into a Python Bytes object The second template parameter ensures that this overload is only chosen with a ROS message argument.

Definition at line 171 of file serialize_msg.h.

Member Function Documentation

◆ deserialize()

template<typename T >
void moveit::py_bindings_tools::ByteString::deserialize ( T &  msg) const
inline

Convert content to a ROS message.

Definition at line 182 of file serialize_msg.h.


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


planning_interface
Author(s): Ioan Sucan
autogenerated on Fri May 3 2024 02:30:20