Struct MessageMembersIntrospection

Struct Documentation

struct MessageMembersIntrospection

Public Functions

inline MessageMembersIntrospection(const MessageTypeSupport &type_support)
inline MessageMembersIntrospection(const MessageMemberIntrospection &member)
inline MessageMembersIntrospection(const rosidl_typesupport_introspection_cpp::MessageMembers *members, std::shared_ptr<const void> library)
inline const rosidl_typesupport_introspection_cpp::MessageMembers *operator->() const
MessageMemberIntrospection getMember(size_t index) const
MessageMemberIntrospection getMember(const std::string &name) const
bool containsMember(const std::string &name) const
std::vector<std::string> memberNames() const
std::string getMessageName() const

Get the name of the message represented by this introspection. E.g. “std_msgs/msg/Int32”.

std::string getMessageDatatype() const

Get the type of the message represented by this introspection. E.g. “std_msgs::msg::Int32”.

Public Members

std::shared_ptr<const void> library
const rosidl_typesupport_introspection_cpp::MessageMembers *value