Namespaces | |
details | |
Classes | |
struct | FlatMessage |
class | Parser |
class | RangeException |
class | ROSField |
A ROSMessage will contain one or more ROSField(s). Each field is little more than a name / type pair. More... | |
class | ROSMessage |
struct | ROSMessageInfo |
class | ROSType |
ROSType. More... | |
class | ShapeShifter |
The ShapeShifter class is a type erased container for ROS Messages. It can be used also to create generic publishers and subscribers. More... | |
struct | StringTreeLeaf |
The StringTreeLeaf is, as the name suggests, a leaf (terminal node) of a StringTree. It provides the pointer to the node and a list of numbers that represent the index that corresponds to the placeholder "#". More... | |
class | SubstitutionRule |
class | TypeException |
class | Variant |
Typedefs | |
typedef details::Tree< const ROSMessage * > | MessageTree |
typedef details::TreeNode< const ROSMessage * > | MessageTreeNode |
typedef std::vector< std::pair< std::string, Variant > > | RenamedValues |
template<class T > | |
using | Span = nonstd::span< T > |
typedef details::Tree< std::string > | StringTree |
typedef details::TreeNode< std::string > | StringTreeNode |
typedef std::map< ROSType, std::vector< SubstitutionRule > > | SubstitutionRuleMap |
Enumerations | |
enum | BuiltinType { BOOL, BYTE, CHAR, UINT8, UINT16, UINT32, UINT64, INT8, INT16, INT32, INT64, FLOAT32, FLOAT64, TIME, DURATION, STRING, OTHER } |
Functions | |
int | builtinSize (const BuiltinType c) |
void | CreateStringFromTreeLeaf (const StringTreeLeaf &leaf, bool skip_root, std::string &out) |
template<typename Container > | |
void | ExpandVectorIfNecessary (Container &container, size_t new_size) |
bool | FindPattern (const std::vector< boost::string_ref > &pattern, size_t index, const StringTreeNode *tail, const StringTreeNode **head) |
template<typename T > | |
BuiltinType | getType () |
template<> | |
BuiltinType | getType< bool > () |
template<> | |
BuiltinType | getType< char > () |
template<> | |
BuiltinType | getType< double > () |
template<> | |
BuiltinType | getType< float > () |
template<> | |
BuiltinType | getType< int16_t > () |
template<> | |
BuiltinType | getType< int32_t > () |
template<> | |
BuiltinType | getType< int64_t > () |
template<> | |
BuiltinType | getType< int8_t > () |
template<> | |
BuiltinType | getType< ros::Duration > () |
template<> | |
BuiltinType | getType< ros::Time > () |
template<> | |
BuiltinType | getType< std::string > () |
template<> | |
BuiltinType | getType< uint16_t > () |
template<> | |
BuiltinType | getType< uint32_t > () |
template<> | |
BuiltinType | getType< uint64_t > () |
template<> | |
BuiltinType | getType< uint8_t > () |
bool | isNumberPlaceholder (const boost::string_ref &s) |
bool | isSubstitutionPlaceholder (const boost::string_ref &s) |
template<typename VectorType > | |
void | JoinStrings (const VectorType &vect, const char separator, std::string &destination) |
std::ostream & | operator<< (std::ostream &os, const ROSMessage &msg) |
std::ostream & | operator<< (std::ostream &os, const StringTreeLeaf &leaf) |
std::ostream & | operator<< (std::ostream &os, const ROSMessage *msg) |
std::ostream & | operator<< (std::ostream &os, const BuiltinType &c) |
std::ostream & | operator<< (std::ostream &os, const ROSType &t) |
bool | operator== (const std::string &a, const boost::string_ref &b) |
int | PatternMatchAndIndexPosition (const StringTreeLeaf &leaf, const StringTreeNode *pattern_head) |
int | print_number (char *buffer, uint16_t value) |
template<typename T > | |
void | ReadFromBuffer (const Span< uint8_t > &buffer, size_t &offset, T &destination) |
template<> | |
void | ReadFromBuffer (const Span< uint8_t > &buffer, size_t &offset, std::string &destination) |
template<typename T > | |
Variant | ReadFromBufferToVariant (const Span< uint8_t > &buffer, size_t &offset) |
Variant | ReadFromBufferToVariant (BuiltinType id, const Span< uint8_t > &buffer, size_t &offset) |
std::vector< boost::string_ref > | StrSplit (boost::string_ref str, boost::string_ref delim) |
BuiltinType | toBuiltinType (const boost::string_ref &s) |
const char * | toStr (const BuiltinType &c) |
typedef details::Tree<const ROSMessage*> RosIntrospection::MessageTree |
Definition at line 78 of file ros_message.hpp.
typedef details::TreeNode<const ROSMessage*> RosIntrospection::MessageTreeNode |
Definition at line 77 of file ros_message.hpp.
typedef std::vector< std::pair<std::string, Variant> > RosIntrospection::RenamedValues |
Definition at line 66 of file ros_introspection.hpp.
using RosIntrospection::Span = typedef nonstd::span<T> |
Definition at line 46 of file helper_functions.hpp.
typedef details::Tree<std::string> RosIntrospection::StringTree |
Definition at line 75 of file ros_message.hpp.
typedef details::TreeNode<std::string> RosIntrospection::StringTreeNode |
Definition at line 74 of file ros_message.hpp.
typedef std::map<ROSType, std::vector<SubstitutionRule> > RosIntrospection::SubstitutionRuleMap |
Definition at line 142 of file substitution_rule.hpp.
Enumerator | |
---|---|
BOOL | |
BYTE | |
CHAR | |
UINT8 | |
UINT16 | |
UINT32 | |
UINT64 | |
INT8 | |
INT16 | |
INT32 | |
INT64 | |
FLOAT32 | |
FLOAT64 | |
TIME | |
DURATION | |
STRING | |
OTHER |
Definition at line 47 of file builtin_types.hpp.
|
inline |
Definition at line 58 of file builtin_types.hpp.
void RosIntrospection::CreateStringFromTreeLeaf | ( | const StringTreeLeaf & | leaf, |
bool | skip_root, | ||
std::string & | out | ||
) |
Definition at line 84 of file stringtree_leaf.cpp.
|
inline |
Definition at line 332 of file ros_introspection.cpp.
|
inline |
Definition at line 103 of file ros_introspection.cpp.
BuiltinType RosIntrospection::getType | ( | ) |
Definition at line 111 of file builtin_types.hpp.
|
inline |
Definition at line 116 of file builtin_types.hpp.
|
inline |
Definition at line 118 of file builtin_types.hpp.
|
inline |
Definition at line 131 of file builtin_types.hpp.
|
inline |
Definition at line 130 of file builtin_types.hpp.
|
inline |
Definition at line 121 of file builtin_types.hpp.
|
inline |
Definition at line 122 of file builtin_types.hpp.
|
inline |
Definition at line 123 of file builtin_types.hpp.
|
inline |
Definition at line 120 of file builtin_types.hpp.
|
inline |
Definition at line 136 of file builtin_types.hpp.
|
inline |
Definition at line 135 of file builtin_types.hpp.
|
inline |
Definition at line 133 of file builtin_types.hpp.
|
inline |
Definition at line 126 of file builtin_types.hpp.
|
inline |
Definition at line 127 of file builtin_types.hpp.
|
inline |
Definition at line 128 of file builtin_types.hpp.
|
inline |
Definition at line 125 of file builtin_types.hpp.
|
inline |
Definition at line 541 of file ros_introspection.cpp.
|
inline |
Definition at line 546 of file ros_introspection.cpp.
|
inline |
Definition at line 578 of file ros_introspection.cpp.
|
inline |
Definition at line 89 of file ros_message.hpp.
|
inline |
Definition at line 94 of file stringtree_leaf.hpp.
|
inline |
Definition at line 95 of file ros_message.hpp.
|
inline |
Definition at line 105 of file builtin_types.hpp.
|
inline |
Definition at line 144 of file ros_type.hpp.
|
inline |
Definition at line 98 of file ros_introspection.cpp.
|
inline |
Definition at line 553 of file ros_introspection.cpp.
|
inline |
Definition at line 49 of file helper_functions.hpp.
|
inline |
Definition at line 80 of file helper_functions.hpp.
|
inline |
Definition at line 90 of file helper_functions.hpp.
|
inline |
Definition at line 107 of file helper_functions.hpp.
|
inline |
Definition at line 114 of file helper_functions.hpp.
std::vector<boost::string_ref> RosIntrospection::StrSplit | ( | boost::string_ref | str, |
boost::string_ref | delim | ||
) |
Definition at line 41 of file substitution_rule.cpp.
|
inline |
Definition at line 150 of file ros_type.hpp.
|
inline |
Definition at line 81 of file builtin_types.hpp.