Struct ServiceTypeSupport

Struct Documentation

struct ServiceTypeSupport

Public Types

typedef std::shared_ptr<ServiceTypeSupport> SharedPtr
typedef std::shared_ptr<const ServiceTypeSupport> ConstSharedPtr

Public Functions

inline MessageMembersIntrospection request() const
inline MessageMembersIntrospection response() const

Public Members

std::string name
std::shared_ptr<void> type_support_library

In case the type_suport_handle’s memory is handled elsewhere, this can be used to make sure the memory stays valid.

rosidl_service_type_support_t type_support_handle

Needed to create requests / responses and advertise services.

std::shared_ptr<void> introspection_type_support_library

Same as above.

rosidl_service_type_support_t introspection_type_support_handle

Needed to parse messages. Check the message_template for null to check if this handle is valid.