Namespaces | |
details | |
Classes | |
class | Deserializer |
class | FastCDR_Deserializer |
struct | FieldLeaf |
The FieldTreeLeaf 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... | |
struct | FieldsVector |
struct | FlatMessage |
struct | MessageSchema |
class | Parser |
class | ParsersCollection |
class | RangeException |
class | ROS_Deserializer |
class | ROSField |
A ROSMessage will contain one or more ROSField(s). Each field is little more than a name / type pair. More... | |
class | ROSMessage |
class | ROSType |
ROSType. More... | |
struct | Time |
class | TypeException |
class | Variant |
Typedefs | |
typedef details::Tree< const ROSField * > | FieldTree |
typedef details::TreeNode< const ROSField * > | FieldTreeNode |
typedef std::vector< std::pair< std::string, double > > | RenamedValues |
using | ROS2_Deserializer = FastCDR_Deserializer |
using | RosMessageLibrary = std::unordered_map< ROSType, std::shared_ptr< ROSMessage > > |
template<class T , size_t N> | |
using | SmallVector = llvm_vecsmall::SmallVector< T, N > |
template<class T > | |
using | Span = nonstd::span< T > |
Enumerations | |
enum | BuiltinType { BOOL, BYTE, CHAR, UINT8, UINT16, UINT32, UINT64, INT8, INT16, INT32, INT64, FLOAT32, FLOAT64, TIME, DURATION, STRING, OTHER } |
Functions | |
MessageSchema::Ptr | BuildMessageSchema (const std::string &topic_name, const std::vector< ROSMessage::Ptr > &parsed_msgs) |
int | builtinSize (const BuiltinType c) |
template<typename T > | |
static T | Deserialize (eprosima::fastcdr::Cdr &cdr) |
template<typename Container > | |
void | ExpandVectorIfNecessary (Container &container, size_t new_size) |
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< RosMsgParser::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 > () |
std::ostream & | operator<< (std::ostream &os, const BuiltinType &c) |
std::ostream & | operator<< (std::ostream &os, const FieldsVector &leaf) |
std::ostream & | operator<< (std::ostream &os, const ROSMessage &msg) |
std::ostream & | operator<< (std::ostream &os, const ROSMessage *msg) |
std::ostream & | operator<< (std::ostream &os, const ROSType &t) |
bool | operator== (const std::string &a, const std::string_view &b) |
std::vector< ROSMessage::Ptr > | ParseMessageDefinitions (const std::string &multi_def, const ROSType &type) |
std::vector< std::string > | SplitMultipleMessageDefinitions (const std::string &multi_def) |
BuiltinType | toBuiltinType (const std::string_view &s) |
const char * | toStr (const BuiltinType &c) |
void | TrimString (std::string &s) |
void | TrimStringLeft (std::string &s) |
void | TrimStringRight (std::string &s) |
typedef details::Tree<const ROSField*> RosMsgParser::FieldTree |
Definition at line 74 of file ros_message.hpp.
typedef details::TreeNode<const ROSField*> RosMsgParser::FieldTreeNode |
Definition at line 73 of file ros_message.hpp.
typedef std::vector<std::pair<std::string, double> > RosMsgParser::RenamedValues |
Definition at line 189 of file ros_parser.hpp.
using RosMsgParser::ROS2_Deserializer = typedef FastCDR_Deserializer |
Definition at line 135 of file deserializer.hpp.
using RosMsgParser::RosMessageLibrary = typedef std::unordered_map<ROSType, std::shared_ptr<ROSMessage> > |
Definition at line 38 of file ros_field.hpp.
using RosMsgParser::SmallVector = typedef llvm_vecsmall::SmallVector<T, N> |
Definition at line 41 of file builtin_types.hpp.
using RosMsgParser::Span = typedef nonstd::span<T> |
Definition at line 38 of file builtin_types.hpp.
Enumerator | |
---|---|
BOOL | |
BYTE | |
CHAR | |
UINT8 | |
UINT16 | |
UINT32 | |
UINT64 | |
INT8 | |
INT16 | |
INT32 | |
INT64 | |
FLOAT32 | |
FLOAT64 | |
TIME | |
DURATION | |
STRING | |
OTHER |
Definition at line 43 of file builtin_types.hpp.
MessageSchema::Ptr RosMsgParser::BuildMessageSchema | ( | const std::string & | topic_name, |
const std::vector< ROSMessage::Ptr > & | parsed_msgs | ||
) |
|
inline |
Definition at line 66 of file builtin_types.hpp.
|
static |
Definition at line 128 of file deserializer.cpp.
|
inline |
Definition at line 67 of file rosx_introspection/src/ros_parser.cpp.
BuiltinType RosMsgParser::getType | ( | ) |
Definition at line 145 of file builtin_types.hpp.
|
inline |
Definition at line 162 of file builtin_types.hpp.
|
inline |
Definition at line 168 of file builtin_types.hpp.
|
inline |
Definition at line 221 of file builtin_types.hpp.
|
inline |
Definition at line 216 of file builtin_types.hpp.
|
inline |
Definition at line 179 of file builtin_types.hpp.
|
inline |
Definition at line 184 of file builtin_types.hpp.
|
inline |
Definition at line 189 of file builtin_types.hpp.
|
inline |
Definition at line 174 of file builtin_types.hpp.
|
inline |
Definition at line 233 of file builtin_types.hpp.
|
inline |
Definition at line 227 of file builtin_types.hpp.
|
inline |
Definition at line 200 of file builtin_types.hpp.
|
inline |
Definition at line 205 of file builtin_types.hpp.
|
inline |
Definition at line 210 of file builtin_types.hpp.
|
inline |
Definition at line 195 of file builtin_types.hpp.
|
inline |
Definition at line 138 of file builtin_types.hpp.
|
inline |
Definition at line 113 of file stringtree_leaf.hpp.
|
inline |
Definition at line 88 of file ros_message.hpp.
|
inline |
Definition at line 94 of file ros_message.hpp.
|
inline |
Definition at line 145 of file ros_type.hpp.
|
inline |
Definition at line 31 of file rosx_introspection/src/ros_parser.cpp.
std::vector< ROSMessage::Ptr > RosMsgParser::ParseMessageDefinitions | ( | const std::string & | multi_def, |
const ROSType & | type | ||
) |
Definition at line 87 of file ros_message.cpp.
std::vector<std::string> RosMsgParser::SplitMultipleMessageDefinitions | ( | const std::string & | multi_def | ) |
Definition at line 62 of file ros_message.cpp.
|
inline |
Definition at line 151 of file ros_type.hpp.
|
inline |
Definition at line 96 of file builtin_types.hpp.
void RosMsgParser::TrimString | ( | std::string & | s | ) |
void RosMsgParser::TrimStringLeft | ( | std::string & | s | ) |
void RosMsgParser::TrimStringRight | ( | std::string & | s | ) |