Voyant API 0.8.0
Loading...
Searching...
No Matches
points_client_ffi.hpp
Go to the documentation of this file.
1// Copyright (c) 2024-2025 Voyant Photonics, Inc.
2// All rights reserved.
3
4#pragma once
5
6#include <cstdarg>
7#include <cstdint>
8#include <cstdlib>
9#include <ostream>
10#include <new>
11
15struct PointsClient;
16
21struct RuntimeWrapper;
22
27 PointsClient *_client;
28 RuntimeWrapper *_runtime;
29};
30
31extern "C" {
32
50PointsClientC new_unicast_points_client_c(const char *addr, bool filter_points, bool disable_spn);
51
72 const char *group_addr,
73 const char *interface_addr,
74 bool filter_points,
75 bool disable_spn);
76
91int32_t move_latest_into_c(const PointsClientC *client, uint8_t *dest, uintptr_t len);
92
102
103} // extern "C"
PointsClientC new_multicast_points_client_c(const char *bind_addr, const char *group_addr, const char *interface_addr, bool filter_points, bool disable_spn)
int32_t move_latest_into_c(const PointsClientC *client, uint8_t *dest, uintptr_t len)
PointsClientC new_unicast_points_client_c(const char *addr, bool filter_points, bool disable_spn)
void free_points_client(PointsClientC client)
Definition points_client_ffi.hpp:26
RuntimeWrapper * _runtime
Definition points_client_ffi.hpp:28
PointsClient * _client
Definition points_client_ffi.hpp:27