129 #undef VLINK_PROXY_SERVER_EXPORT
130 #ifdef VLINK_PROXY_SERVER_LIBRARY_STATIC
131 #define VLINK_PROXY_SERVER_EXPORT
132 #elif defined(_WIN32) || defined(__CYGWIN__)
133 #ifdef VLINK_PROXY_SERVER_LIBRARY
134 #define VLINK_PROXY_SERVER_EXPORT __declspec(dllexport)
136 #define VLINK_PROXY_SERVER_EXPORT __declspec(dllimport)
139 #define VLINK_PROXY_SERVER_EXPORT __attribute__((visibility("default")))
147 #include "../base/message_loop.h"
206 bool reliable{
false};
207 bool enable_tcp{
false};
209 bool native_mode{
false};
211 uint32_t buf_size{0};
212 uint32_t mtu_size{0};
213 double max_packet_size{
218 std::string dds_impl{
"dds"};
220 bool iox_monitoring{
true};
223 uint16_t runnable_version_major{1};
224 uint16_t runnable_version_minor{0};
296 void init_shm_roudi();
300 void init_runnable();
304 void send_control(
const void* control_data);
309 std::unique_ptr<Impl> impl_;
Serial task dispatcher with selectable queue backend and bounded timer registry.
Definition: message_loop.h:126
In-process VLink proxy daemon backed by a MessageLoop.
Definition: proxy_server.h:163
void on_end() override
Hook invoked once on the loop thread after the last task runs.
~ProxyServer() override
Destroys the ProxyServer in a deterministic shutdown order.
size_t get_max_task_count() const override
Returns the maximum queue depth.
uint32_t get_max_elapsed_time() const override
Returns the maximum allowed task execution time in milliseconds.
void on_begin() override
Hook invoked once on the loop thread before the first task runs.
std::string get_token() const
Returns the authentication token issued by this server.
ProxyServer(const Config &config)
Constructs a ProxyServer and brings every proxy subsystem online.
#define VLINK_DISALLOW_COPY_AND_ASSIGN(classname)
Deletes the copy constructor and copy-assignment operator of classname.
Definition: macros.h:174
#define VLINK_PROXY_SERVER_EXPORT
Definition: proxy_server.h:139
Construction-time configuration aggregate for ProxyServer.
Definition: proxy_server.h:204
std::string iox_config
Iceoryx TOML config path; empty = default.
Definition: proxy_server.h:222
std::vector< std::string > runnable_list
Ordered plugin names to load on startup.
Definition: proxy_server.h:226
std::string peer_ip
Peer unicast IP for DDS; empty = multicast.
Definition: proxy_server.h:217
std::string security_key
Security key; empty = default security slot.
Definition: proxy_server.h:215
std::string bind_ip
Local IP for DDS sockets; empty = any.
Definition: proxy_server.h:216
std::string runnable_prefix
Plugin library filename prefix.
Definition: proxy_server.h:225