nros::Subscription<M> — typed topic subscriber.
More...
#include <cstdint>
#include <cstddef>
#include <string.h>
#include "nros/config.hpp"
#include "nros/result.hpp"
#include "nros/stream.hpp"
#include "nros_cpp_ffi.h"
#include "nros/node.hpp"
Go to the source code of this file.
|
| nros_cpp_ret_t | nros_cpp_subscription_register (const nros_cpp_node_t *node, const char *topic, const char *type_name, const char *type_hash, nros_cpp_qos_t qos, nros_cpp_subscription_message_callback_t callback, void *context, uint8_t sched_context, size_t *out_handle_id) |
| |
| nros_cpp_ret_t | nros_cpp_subscription_register_with_info (const nros_cpp_node_t *node, const char *topic, const char *type_name, const char *type_hash, nros_cpp_qos_t qos, nros_cpp_subscription_message_info_callback_t callback, void *context, uint8_t sched_context, size_t *out_handle_id) |
| |
nros::Subscription<M> — typed topic subscriber.
◆ nros_cpp_subscription_message_callback_t
| typedef void(* nros_cpp_subscription_message_callback_t) (const uint8_t *data, size_t len, void *ctx) |
◆ nros_cpp_subscription_message_info_callback_t
| typedef void(* nros_cpp_subscription_message_info_callback_t) (const uint8_t *data, size_t len, const uint8_t *attachment, size_t attachment_len, void *ctx) |
◆ nros_cpp_subscription_register()
◆ nros_cpp_subscription_register_with_info()