Open3D (C++ API)  0.12.0
Public Member Functions
open3d::io::rpc::DummyReceiver Class Reference

#include <DummyReceiver.h>

Inheritance diagram for open3d::io::rpc::DummyReceiver:
open3d::io::rpc::ReceiverBase

Public Member Functions

 DummyReceiver (const std::string &address, int timeout)
 
std::shared_ptr< zmq::message_t > ProcessMessage (const messages::Request &req, const messages::SetMeshData &msg, const MsgpackObject &obj) override
 
std::shared_ptr< zmq::message_t > ProcessMessage (const messages::Request &req, const messages::GetMeshData &msg, const MsgpackObject &obj) override
 
std::shared_ptr< zmq::message_t > ProcessMessage (const messages::Request &req, const messages::SetCameraData &msg, const MsgpackObject &obj) override
 
std::shared_ptr< zmq::message_t > ProcessMessage (const messages::Request &req, const messages::SetProperties &msg, const MsgpackObject &obj) override
 
std::shared_ptr< zmq::message_t > ProcessMessage (const messages::Request &req, const messages::SetActiveCamera &msg, const MsgpackObject &obj) override
 
std::shared_ptr< zmq::message_t > ProcessMessage (const messages::Request &req, const messages::SetTime &msg, const MsgpackObject &obj) override
 
- Public Member Functions inherited from open3d::io::rpc::ReceiverBase
 ReceiverBase (const std::string &address="tcp://127.0.0.1:51454", int timeout=10000)
 
 ReceiverBase (const ReceiverBase &)=delete
 
ReceiverBaseoperator= (const ReceiverBase &)=delete
 
virtual ~ReceiverBase ()
 
void Start ()
 Starts the receiver mainloop in a new thread. More...
 
void Stop ()
 
std::runtime_error GetLastError ()
 Returns the last error from the mainloop thread. More...
 

Additional Inherited Members

Detailed Description

Receiver implementation which always returns a successful status. This class is meant for testing puproses.

Constructor & Destructor Documentation

◆ DummyReceiver()

open3d::io::rpc::DummyReceiver::DummyReceiver ( const std::string &  address,
int  timeout 
)
inline

Member Function Documentation

◆ ProcessMessage() [1/6]

std::shared_ptr<zmq::message_t> open3d::io::rpc::DummyReceiver::ProcessMessage ( const messages::Request req,
const messages::SetMeshData msg,
const MsgpackObject obj 
)
inlineoverridevirtual

Function for processing a msg.

Parameters
reqThe Request object that accompanies the
msgobject.
msgThe message to be processed
objThe object from which the
msgwas unpacked. Can be used for custom unpacking.

Reimplemented from open3d::io::rpc::ReceiverBase.

◆ ProcessMessage() [2/6]

std::shared_ptr<zmq::message_t> open3d::io::rpc::DummyReceiver::ProcessMessage ( const messages::Request req,
const messages::GetMeshData msg,
const MsgpackObject obj 
)
inlineoverridevirtual

Reimplemented from open3d::io::rpc::ReceiverBase.

◆ ProcessMessage() [3/6]

std::shared_ptr<zmq::message_t> open3d::io::rpc::DummyReceiver::ProcessMessage ( const messages::Request req,
const messages::SetCameraData msg,
const MsgpackObject obj 
)
inlineoverridevirtual

Reimplemented from open3d::io::rpc::ReceiverBase.

◆ ProcessMessage() [4/6]

std::shared_ptr<zmq::message_t> open3d::io::rpc::DummyReceiver::ProcessMessage ( const messages::Request req,
const messages::SetProperties msg,
const MsgpackObject obj 
)
inlineoverridevirtual

Reimplemented from open3d::io::rpc::ReceiverBase.

◆ ProcessMessage() [5/6]

std::shared_ptr<zmq::message_t> open3d::io::rpc::DummyReceiver::ProcessMessage ( const messages::Request req,
const messages::SetActiveCamera msg,
const MsgpackObject obj 
)
inlineoverridevirtual

Reimplemented from open3d::io::rpc::ReceiverBase.

◆ ProcessMessage() [6/6]

std::shared_ptr<zmq::message_t> open3d::io::rpc::DummyReceiver::ProcessMessage ( const messages::Request req,
const messages::SetTime msg,
const MsgpackObject obj 
)
inlineoverridevirtual

Reimplemented from open3d::io::rpc::ReceiverBase.


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