C++ Wrapper class for Python 3 Bytes Object.
More...
#include <serialize_msg.h>
|
| | 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...
|
| |
C++ Wrapper class for Python 3 Bytes Object.
Definition at line 115 of file serialize_msg.h.
◆ ByteString() [1/5]
| moveit::py_bindings_tools::ByteString::ByteString |
( |
| ) |
|
|
inline |
◆ ByteString() [2/5]
| moveit::py_bindings_tools::ByteString::ByteString |
( |
const char * |
s | ) |
|
|
inlineexplicit |
◆ ByteString() [3/5]
| moveit::py_bindings_tools::ByteString::ByteString |
( |
const std::string & |
s | ) |
|
|
inlineexplicit |
◆ ByteString() [4/5]
template<typename T >
| moveit::py_bindings_tools::ByteString::ByteString |
( |
const boost::python::api::proxy< T > & |
proxy | ) |
|
|
inlineexplicit |
◆ 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.
◆ deserialize()
template<typename T >
| void moveit::py_bindings_tools::ByteString::deserialize |
( |
T & |
msg | ) |
const |
|
inline |
The documentation for this class was generated from the following file: