18 #ifndef IOX_BINDING_C_SUBSCRIBER_H
19 #define IOX_BINDING_C_SUBSCRIBER_H
21 #include "iceoryx_binding_c/enums.h"
22 #include "iceoryx_binding_c/internal/c2cpp_binding.h"
23 #include "iceoryx_binding_c/service_description.h"
24 #include "iceoryx_binding_c/types.h"
74 const char*
const service,
75 const char*
const instance,
76 const char*
const event,
81 void iox_sub_deinit(
iox_sub_t const self);
85 void iox_sub_subscribe(
iox_sub_t const self);
89 void iox_sub_unsubscribe(
iox_sub_t const self);
95 ENUM iox_SubscribeState iox_sub_get_subscription_state(
iox_sub_t const self);
102 ENUM iox_ChunkReceiveResult iox_sub_take_chunk(
iox_sub_t const self,
const void**
const userPayload);
107 void iox_sub_release_chunk(
iox_sub_t const self,
const void*
const userPayload);
111 void iox_sub_release_queued_chunks(
iox_sub_t const self);
116 bool iox_sub_has_chunks(
iox_sub_t const self);
121 bool iox_sub_has_lost_chunks(
iox_sub_t const self);
Definition: cpp2c_subscriber.hpp:28
Definition: service_description.h:23
options to be set for a subscriber
Definition: subscriber.h:31
ENUM iox_QueueFullPolicy queueFullPolicy
describes whether a publisher blocks when subscriber queue is full
Definition: subscriber.h:46
bool subscribeOnCreate
The option whether the subscriber shall try to subscribe when creating it.
Definition: subscriber.h:43
uint64_t historyRequest
number of chunks received after subscription if chunks are available
Definition: subscriber.h:36
uint64_t queueCapacity
size of the history chunk queue
Definition: subscriber.h:33
uint64_t initCheck
this value will be set exclusively by iox_sub_options_init and is not supposed to be modified otherwi...
Definition: subscriber.h:49
const char * nodeName
name of the node the subscriber belongs to
Definition: subscriber.h:40