The ShapeShifter class is a type erased container for ROS Messages. It can be used also to create generic publishers and subscribers.
More...
#include <shape_shifter.hpp>
The ShapeShifter class is a type erased container for ROS Messages. It can be used also to create generic publishers and subscribers.
Definition at line 54 of file shape_shifter.hpp.
RosIntrospection::ShapeShifter::ShapeShifter |
( |
| ) |
|
|
inline |
RosIntrospection::ShapeShifter::~ShapeShifter |
( |
| ) |
|
|
inlinevirtual |
template<typename Message >
void RosIntrospection::ShapeShifter::direct_read |
( |
const Message & |
msg, |
|
|
bool |
morph |
|
) |
| |
|
inline |
std::string const & RosIntrospection::ShapeShifter::getDataType |
( |
| ) |
const |
|
inline |
std::string const & RosIntrospection::ShapeShifter::getMD5Sum |
( |
| ) |
const |
|
inline |
std::string const & RosIntrospection::ShapeShifter::getMessageDefinition |
( |
| ) |
const |
|
inline |
template<class M >
void RosIntrospection::ShapeShifter::instantiate |
( |
M & |
destination | ) |
const |
|
inline |
void RosIntrospection::ShapeShifter::morph |
( |
const std::string & |
md5sum, |
|
|
const std::string & |
datatype_, |
|
|
const std::string & |
msg_def_ |
|
) |
| |
|
inline |
const uint8_t * RosIntrospection::ShapeShifter::raw_data |
( |
| ) |
const |
|
inline |
template<typename Stream >
void RosIntrospection::ShapeShifter::read |
( |
Stream & |
stream | ) |
|
|
inline |
uint32_t RosIntrospection::ShapeShifter::size |
( |
| ) |
const |
|
inline |
template<typename Stream >
void RosIntrospection::ShapeShifter::write |
( |
Stream & |
stream | ) |
const |
|
inline |
Write serialized message contents out to a stream.
Definition at line 211 of file shape_shifter.hpp.
boost::flyweight<std::string> RosIntrospection::ShapeShifter::datatype_ |
|
private |
boost::flyweight<std::string> RosIntrospection::ShapeShifter::md5_ |
|
private |
boost::flyweight<std::string> RosIntrospection::ShapeShifter::msg_def_ |
|
private |
std::vector<uint8_t> RosIntrospection::ShapeShifter::msgBuf_ |
|
mutableprivate |
bool RosIntrospection::ShapeShifter::typed_ |
|
private |
bool RosIntrospection::ShapeShifter::uses_old_API_ |
|
static |
The documentation for this class was generated from the following file: