#include <ServiceTypeSupport.hpp>
Public Member Functions | |
| FASTDDS_EXPORTED_API | ServiceTypeSupport () noexcept=default |
| Constructor. | |
| FASTDDS_EXPORTED_API | ServiceTypeSupport (const ServiceTypeSupport &service_type) noexcept=default |
| Copy Constructor. | |
| FASTDDS_EXPORTED_API | ServiceTypeSupport (ServiceTypeSupport &&service_type) noexcept=default |
| Move Constructor. | |
| FASTDDS_EXPORTED_API ServiceTypeSupport & | operator= (const ServiceTypeSupport &service_type) noexcept=default |
| Copy Assignment. | |
| FASTDDS_EXPORTED_API ServiceTypeSupport & | operator= (ServiceTypeSupport &&service_type) noexcept=default |
| Move Assignment. | |
| FASTDDS_EXPORTED_API | ServiceTypeSupport (TypeSupport request_type, TypeSupport reply_type) |
| ServiceTypeSupport constructor that receives two TypeSupport objects (Request + reply TypeSupports) | |
| virtual FASTDDS_EXPORTED_API | ~ServiceTypeSupport ()=default |
| Destructor. | |
| virtual FASTDDS_EXPORTED_API ReturnCode_t | register_service_type (DomainParticipant *participant, std::string service_type_name) const |
| Registers the service type on a participant. | |
| FASTDDS_EXPORTED_API const TypeSupport | request_type () const |
| Returns the TypeSupport of the request type. | |
| FASTDDS_EXPORTED_API const TypeSupport | reply_type () const |
| Returns the TypeSupport of the reply type. | |
| FASTDDS_EXPORTED_API bool | empty_types () const |
| Check if the ServiceTypeSupport object contains empty request/reply types. | |
| FASTDDS_EXPORTED_API bool | operator== (const ServiceTypeSupport &type_support) |
|
defaultnoexcept |
Constructor.
|
defaultnoexcept |
Copy Constructor.
| service_type | Another instance of ServiceTypeSupport |
|
defaultnoexcept |
Move Constructor.
| service_type | Another instance of ServiceTypeSupport |
|
inline |
ServiceTypeSupport constructor that receives two TypeSupport objects (Request + reply TypeSupports)
| request_type | TypeSupport of the request type |
| reply_type | TypeSupport of the reply type |
|
virtualdefault |
Destructor.
|
inline |
Check if the ServiceTypeSupport object contains empty request/reply types.
|
defaultnoexcept |
Copy Assignment.
| service_type | Another instance of ServiceTypeSupport |
|
defaultnoexcept |
Move Assignment.
| service_type | Another instance of ServiceTypeSupport |
|
inline |
|
virtual |
Registers the service type on a participant.
| participant | DomainParticipant where the service type is going to be registered |
| service_type_name | Name of the service type to register |
|
inline |
Returns the TypeSupport of the reply type.
|
inline |
Returns the TypeSupport of the request type.