35 #ifndef ROS_INTROSPECTION_ROSMESSAGE_H 36 #define ROS_INTROSPECTION_ROSMESSAGE_H
const std::vector< ROSField > & fields() const
Vector of fields.
std::vector< ROSMessage > type_list
Element of the tree. it has a single parent and N >= 0 children.
std::ostream & operator<<(std::ostream &os, const BuiltinType &c)
details::TreeNode< const ROSMessage * > MessageTreeNode
details::Tree< std::string > StringTree
details::Tree< const ROSMessage * > MessageTree
void mutateType(const ROSType &new_type)
ROSMessage(const std::string &msg_def)
details::TreeNode< std::string > StringTreeNode
const ROSField & field(size_t index) const
Get field by index.
const ROSType & type() const
std::vector< ROSField > _fields
A ROSMessage will contain one or more ROSField(s). Each field is little more than a name / type pair...
void updateMissingPkgNames(const std::vector< const ROSType * > &all_types)