35 Connection(
const std::string& address,
int connect_timeout,
int timeout);
39 std::shared_ptr<zmq::message_t>
Send(zmq::message_t& send_msg);
42 std::shared_ptr<zmq::message_t>
Send(
const void*
data,
size_t size);
47 std::shared_ptr<zmq::context_t> context_;
48 std::unique_ptr<zmq::socket_t> socket_;
49 const std::string address_;
50 const int connect_timeout_;
Base class for all connections.
Definition: ConnectionBase.h:22
Definition: Connection.h:22
~Connection()
Definition: Connection.cpp:50
static std::string DefaultAddress()
Definition: Connection.cpp:79
std::shared_ptr< zmq::message_t > Send(zmq::message_t &send_msg)
Function for sending data wrapped in a zmq message object.
Definition: Connection.cpp:52
Connection()
Creates a connection with the default parameters.
Definition: Connection.cpp:31
const char const char value recording_handle imu_sample recording_handle uint8_t data
Definition: K4aPlugin.cpp:269
Definition: PinholeCameraIntrinsic.cpp:16