Open3D (C++ API)
0.18.0+252c867
|
#include <Connection.h>
Public Member Functions | |
Connection () | |
Creates a connection with the default parameters. More... | |
Connection (const std::string &address, int connect_timeout, int timeout) | |
~Connection () | |
std::shared_ptr< zmq::message_t > | Send (zmq::message_t &send_msg) |
Function for sending data wrapped in a zmq message object. More... | |
std::shared_ptr< zmq::message_t > | Send (const void *data, size_t size) |
Function for sending raw data. Meant for testing purposes. More... | |
Public Member Functions inherited from open3d::io::rpc::ConnectionBase | |
ConnectionBase () | |
virtual | ~ConnectionBase () |
Static Public Member Functions | |
static std::string | DefaultAddress () |
This class implements the Connection which is used as default in all functions.
open3d::io::rpc::Connection::Connection | ( | ) |
Creates a connection with the default parameters.
open3d::io::rpc::Connection::Connection | ( | const std::string & | address, |
int | connect_timeout, | ||
int | timeout | ||
) |
Creates a Connection object used for sending data.
address | The address of the receiving end. |
connect_timeout | The timeout for the connect operation of the socket. |
timeout | The timeout for sending data. |
open3d::io::rpc::Connection::~Connection | ( | ) |
|
static |
|
virtual |
Function for sending raw data. Meant for testing purposes.
Implements open3d::io::rpc::ConnectionBase.
|
virtual |
Function for sending data wrapped in a zmq message object.
Implements open3d::io::rpc::ConnectionBase.