13#ifndef IOX2_SERVICE_BUILDER_HPP
14#define IOX2_SERVICE_BUILDER_HPP
25template <ServiceType S>
37 template <
typename Payload>
46 template <
typename RequestPayload,
typename ResponsePayload>
51 template <
typename KeyType>
56 template <
typename KeyType>
60 template <ServiceType>
62 ServiceBuilder(iox2_node_h_ref node_handle, iox2_service_name_ptr service_name_ptr);
65 iox2_service_builder_h m_handle =
nullptr;
68template <ServiceType S>
70 : m_handle { iox2_node_service_builder(node_handle, nullptr, service_name_ptr) } {
73template <ServiceType S>
74inline void ServiceBuilder<S>::drop() {
75 if (m_handle !=
nullptr) {
76 iox2_service_builder_drop(m_handle);
81template <ServiceType S>
83 *
this = std::move(rhs);
86template <ServiceType S>
90 m_handle = rhs.m_handle;
91 rhs.m_handle =
nullptr;
97template <ServiceType S>
102template <ServiceType S>
104 auto* handle = m_handle;
109template <ServiceType S>
110template <
typename Payload>
112 auto* handle = m_handle;
117template <ServiceType S>
118template <
typename RequestPayload,
typename ResponsePayload>
121 auto* handle = m_handle;
126template <ServiceType S>
127template <
typename KeyType>
129 auto* handle = m_handle;
134template <ServiceType S>
135template <
typename KeyType>
137 auto* handle = m_handle;
Builder to create new [MessagingPattern::Blackboard] based [Service]s.
Builder to create new [MessagingPattern::Event] based [Service]s.
Builder to create new [MessagingPattern::PublishSubscribe] based [Service]s.
Builder to create or open [Service]s.
auto blackboard_creator() &&-> ServiceBuilderBlackboardCreator< KeyType, S >
auto operator=(ServiceBuilder &&rhs) noexcept -> ServiceBuilder &
ServiceBuilder(ServiceBuilder &&rhs) noexcept
ServiceBuilder(const ServiceBuilder &)=delete
auto blackboard_opener() &&-> ServiceBuilderBlackboardOpener< KeyType, S >
auto request_response() &&-> ServiceBuilderRequestResponse< RequestPayload, void, ResponsePayload, void, S >
auto event() &&-> ServiceBuilderEvent< S >
auto publish_subscribe() &&-> ServiceBuilderPublishSubscribe< Payload, void, S >
auto operator=(const ServiceBuilder &) -> ServiceBuilder &=delete