Open3D (C++ API)  0.19.0
Loading...
Searching...
No Matches
open3d::io::rpc::Connection Class Reference

#include <Connection.h>

Inheritance diagram for open3d::io::rpc::Connection:
open3d::io::rpc::ConnectionBase

Public Member Functions

 Connection ()
 Creates a connection with the default parameters.
 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.
std::shared_ptr< zmq::message_t > Send (const void *data, size_t size)
 Function for sending raw data. Meant for testing purposes.
Public Member Functions inherited from open3d::io::rpc::ConnectionBase
 ConnectionBase ()
virtual ~ConnectionBase ()

Static Public Member Functions

static std::string DefaultAddress ()

Detailed Description

This class implements the Connection which is used as default in all functions.

Constructor & Destructor Documentation

◆ Connection() [1/2]

open3d::io::rpc::Connection::Connection ( )

Creates a connection with the default parameters.

◆ Connection() [2/2]

open3d::io::rpc::Connection::Connection ( const std::string & address,
int connect_timeout,
int timeout )

Creates a Connection object used for sending data.

Parameters
addressThe address of the receiving end.
connect_timeoutThe timeout for the connect operation of the socket.
timeoutThe timeout for sending data.

◆ ~Connection()

open3d::io::rpc::Connection::~Connection ( )

Member Function Documentation

◆ DefaultAddress()

std::string open3d::io::rpc::Connection::DefaultAddress ( )
static

◆ Send() [1/2]

std::shared_ptr< zmq::message_t > open3d::io::rpc::Connection::Send ( const void * data,
size_t size )
virtual

Function for sending raw data. Meant for testing purposes.

Implements open3d::io::rpc::ConnectionBase.

◆ Send() [2/2]

std::shared_ptr< zmq::message_t > open3d::io::rpc::Connection::Send ( zmq::message_t & send_msg)
virtual

Function for sending data wrapped in a zmq message object.

Implements open3d::io::rpc::ConnectionBase.


The documentation for this class was generated from the following files: