54 Connection(
const std::string& address,
int connect_timeout,
int timeout);
58 std::shared_ptr<zmq::message_t>
Send(zmq::message_t& send_msg);
61 std::shared_ptr<zmq::message_t>
Send(
const void*
data,
size_t size);
66 std::shared_ptr<zmq::context_t> context_;
67 std::unique_ptr<zmq::socket_t> socket_;
68 const std::string address_;
69 const int connect_timeout_;
static std::string DefaultAddress()
Definition: Connection.cpp:98
~Connection()
Definition: Connection.cpp:69
Definition: Connection.h:41
int size
Definition: FilePCD.cpp:59
Connection()
Creates a connection with the default parameters.
Definition: Connection.cpp:50
Definition: PinholeCameraIntrinsic.cpp:35
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:71
Base class for all connections.
Definition: ConnectionBase.h:41
const char const char value recording_handle imu_sample recording_handle uint8_t data
Definition: K4aPlugin.cpp:274