zCm 0.1.0
Lightweight messaging toolkit
Loading...
Searching...
No Matches
zcm_proc.h
Go to the documentation of this file.
1#ifndef ZCM_ZCM_PROC_H
2#define ZCM_ZCM_PROC_H
3
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13#include "zcm.h"
14#include "zcm_node.h"
15
19
21typedef struct zcm_proc zcm_proc_t;
22
33int zcm_proc_init(const char *name, zcm_socket_type_t data_type, int bind_data,
34 zcm_proc_t **out_proc, zcm_socket_t **out_data);
35
42
50
58
60
61#ifdef __cplusplus
62}
63#endif
64
65#endif /* ZCM_ZCM_PROC_H */
struct zcm_proc zcm_proc_t
Opaque process helper handle.
Definition zcm_proc.h:21
zcm_context_t * zcm_proc_context(zcm_proc_t *proc)
Access the context owned by a process helper.
zcm_node_t * zcm_proc_node(zcm_proc_t *proc)
Access the node helper owned by a process helper.
void zcm_proc_free(zcm_proc_t *proc)
Tear down and unregister a process created by zcm_proc_init().
int zcm_proc_init(const char *name, zcm_socket_type_t data_type, int bind_data, zcm_proc_t **out_proc, zcm_socket_t **out_data)
Initialize a process: context, node registration, control socket, and optional data socket.
struct zcm_socket zcm_socket_t
Opaque transport socket wrapper.
Definition zcm_node.h:40
zcm_socket_type_t
Socket type abstraction mapped to ZeroMQ socket kinds.
Definition zcm_node.h:29
struct zcm_context zcm_context_t
Opaque process-wide context handle.
Definition zcm.h:27
struct zcm_node zcm_node_t
Opaque broker-registry client handle.
Definition zcm_node.h:24
Base zCm context and broker lifecycle API.
Node registry and transport socket APIs.