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"
204 bool reliable{
false};
205 bool enable_tcp{
false};
207 bool native_mode{
false};
209 uint32_t buf_size{0};
210 uint32_t mtu_size{0};
211 double max_packet_size{0};
215 std::string dds_impl{
"dds"};
217 bool iox_monitoring{
true};
220 uint16_t runnable_version_major{1};
221 uint16_t runnable_version_minor{0};
293 void init_shm_roudi();
297 void init_runnable();
301 void send_control(
const void* control_data);
306 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:202
std::string iox_config
Iceoryx TOML config path; empty = default.
Definition: proxy_server.h:219
std::vector< std::string > runnable_list
Ordered plugin names to load on startup.
Definition: proxy_server.h:223
std::string peer_ip
Peer unicast IP for DDS; empty = multicast.
Definition: proxy_server.h:214
std::string security_key
Security key; empty = default security slot.
Definition: proxy_server.h:212
std::string bind_ip
Local IP for DDS sockets; empty = any.
Definition: proxy_server.h:213
std::string runnable_prefix
Plugin library filename prefix.
Definition: proxy_server.h:222