Closures
The C++ wrappers for zenoh callbacks. See Closure templates for details of closures API
-
typedef ClosureMoveParam<::z_owned_closure_reply_t, ::z_owned_reply_t, zenoh::Reply> zenoh::ClosureReply
Callback type passed to
Session::get
to processReply
s fromQueryable
s.
-
typedef ClosureConstRefParam<::z_owned_closure_query_t, ::z_query_t, zenoh::Query> zenoh::ClosureQuery
Callback type passed to
Session::declare_queryable
to process receivedQuery
s.
-
typedef ClosureConstRefParam<::z_owned_closure_sample_t, ::z_sample_t, zenoh::Sample> zenoh::ClosureSample
Callback type passed to
Session::declare_subscriber
to process receivedSample
s.
-
typedef ClosureConstRefParam<::z_owned_closure_zid_t, ::z_id_t, zenoh::Id> zenoh::ClosureZid
Callback type passed to
Session::info_routers_zid
andSession::info_peers_zid
to process receivedId
s.
-
typedef ClosureMoveParam<::z_owned_closure_hello_t, ::z_owned_hello_t, zenoh::Hello> zenoh::ClosureHello
Callback type passed to
zenoh::scout
to process receivedHello
s.
-
class ClosureReplyChannelSend : public zenohcxx::ClosureMoveParam<::z_owned_closure_reply_t, ::z_owned_reply_t, zenoh::Reply>
Send data function returned by
zenoh::reply_fifo_new
andzenoh::reply_non_blocking_fifo_new
Note
zenoh-c only
-
class ClosureReplyChannelRecv : public zenohcxx::ClosureMoveParam<::z_owned_reply_channel_closure_t, ::z_owned_reply_t, zenoh::Reply>
Receive data function returned by
zenoh::reply_fifo_new
andzenoh::reply_non_blocking_fifo_new
Note
zenoh-c only