nros C++ API
Lightweight ROS 2 client for embedded real-time systems (C++ headers)
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
client.hpp File Reference

nros::Client<S> — typed service client. More...

#include <cstdint>
#include <cstddef>
#include "nros/config.hpp"
#include "nros/result.hpp"
#include "nros/future.hpp"
#include "nros_cpp_ffi.h"
#include "nros/node.hpp"
Include dependency graph for client.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nros::Client< S >
 

Namespaces

namespace  nros
 

Typedefs

typedef void(* nros_cpp_service_response_callback_t) (const uint8_t *data, size_t len, void *ctx)
 

Functions

nros_cpp_ret_t nros_cpp_service_client_register (const nros_cpp_node_t *node, const char *service_name, const char *type_name, const char *type_hash, nros_cpp_qos_t qos, nros_cpp_service_response_callback_t callback, void *context, uint8_t sched_context, size_t *out_handle_id)
 

Detailed Description

nros::Client<S> — typed service client.

Typedef Documentation

◆ nros_cpp_service_response_callback_t

typedef void(* nros_cpp_service_response_callback_t) (const uint8_t *data, size_t len, void *ctx)

Function Documentation

◆ nros_cpp_service_client_register()

nros_cpp_ret_t nros_cpp_service_client_register ( const nros_cpp_node_t *  node,
const char *  service_name,
const char *  type_name,
const char *  type_hash,
nros_cpp_qos_t  qos,
nros_cpp_service_response_callback_t  callback,
void *  context,
uint8_t  sched_context,
size_t *  out_handle_id 
)