Go to the documentation of this file.
24 #ifndef ROS_INTROSPECTION_ROSMESSAGE_H
25 #define ROS_INTROSPECTION_ROSMESSAGE_H
27 #include <unordered_map>
37 using Ptr = std::shared_ptr<ROSMessage>;
48 const std::vector<ROSField>&
fields()
const
78 using Ptr = std::shared_ptr<MessageSchema>;
101 const ROSType& type);
104 const std::vector<ROSMessage::Ptr>& parsed_msgs);
std::shared_ptr< ROSMessage > Ptr
std::vector< ROSField > _fields
const std::vector< ROSField > & fields() const
std::shared_ptr< MessageSchema > Ptr
RosMessageLibrary msg_library
const ROSField & field(size_t i) const
std::vector< ROSField > & fields()
std::unordered_map< ROSType, std::shared_ptr< ROSMessage > > RosMessageLibrary
ROSMessage(const std::string &msg_def)
details::Tree< const ROSField * > FieldTree
void setType(const ROSType &new_type)
MessageSchema::Ptr BuildMessageSchema(const std::string &topic_name, const std::vector< ROSMessage::Ptr > &parsed_msgs)
std::ostream & operator<<(std::ostream &os, const BuiltinType &c)
const ROSType & type() const
Element of the tree. it has a single parent and N >= 0 children.
details::TreeNode< const ROSField * > FieldTreeNode
A ROSMessage will contain one or more ROSField(s). Each field is little more than a name / type pair.
std::vector< ROSMessage::Ptr > ParseMessageDefinitions(const std::string &multi_def, const ROSType &type)
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:46