Open3D (C++ API)  0.18.0+252c867
Public Member Functions
open3d::io::rpc::MessageProcessorBase Class Reference

#include <MessageProcessorBase.h>

Inheritance diagram for open3d::io::rpc::MessageProcessorBase:
open3d::io::rpc::DummyMessageProcessor open3d::visualization::MessageProcessor

Public Member Functions

 MessageProcessorBase ()
 Constructs a receiver listening on the specified address. More...
 
virtual ~MessageProcessorBase ()
 
virtual std::shared_ptr< zmq::message_t > ProcessMessage (const messages::Request &req, const messages::SetMeshData &msg, const msgpack::object_handle &obj)
 
virtual std::shared_ptr< zmq::message_t > ProcessMessage (const messages::Request &req, const messages::GetMeshData &msg, const msgpack::object_handle &obj)
 
virtual std::shared_ptr< zmq::message_t > ProcessMessage (const messages::Request &req, const messages::SetCameraData &msg, const msgpack::object_handle &obj)
 
virtual std::shared_ptr< zmq::message_t > ProcessMessage (const messages::Request &req, const messages::SetProperties &msg, const msgpack::object_handle &obj)
 
virtual std::shared_ptr< zmq::message_t > ProcessMessage (const messages::Request &req, const messages::SetActiveCamera &msg, const msgpack::object_handle &obj)
 
virtual std::shared_ptr< zmq::message_t > ProcessMessage (const messages::Request &req, const messages::SetTime &msg, const msgpack::object_handle &obj)
 

Detailed Description

Base class for processing received messages. Subclass from this and implement the overloaded ProcessMessage functions as needed.

Constructor & Destructor Documentation

◆ MessageProcessorBase()

open3d::io::rpc::MessageProcessorBase::MessageProcessorBase ( )

Constructs a receiver listening on the specified address.

◆ ~MessageProcessorBase()

open3d::io::rpc::MessageProcessorBase::~MessageProcessorBase ( )
virtual

Member Function Documentation

◆ ProcessMessage() [1/6]

std::shared_ptr< zmq::message_t > open3d::io::rpc::MessageProcessorBase::ProcessMessage ( const messages::Request req,
const messages::GetMeshData msg,
const msgpack::object_handle &  obj 
)
virtual

◆ ProcessMessage() [2/6]

std::shared_ptr< zmq::message_t > open3d::io::rpc::MessageProcessorBase::ProcessMessage ( const messages::Request req,
const messages::SetActiveCamera msg,
const msgpack::object_handle &  obj 
)
virtual

◆ ProcessMessage() [3/6]

std::shared_ptr< zmq::message_t > open3d::io::rpc::MessageProcessorBase::ProcessMessage ( const messages::Request req,
const messages::SetCameraData msg,
const msgpack::object_handle &  obj 
)
virtual

◆ ProcessMessage() [4/6]

std::shared_ptr< zmq::message_t > open3d::io::rpc::MessageProcessorBase::ProcessMessage ( const messages::Request req,
const messages::SetMeshData msg,
const msgpack::object_handle &  obj 
)
virtual

Function for processing a msg.

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

Reimplemented in open3d::io::rpc::DummyMessageProcessor, and open3d::visualization::MessageProcessor.

◆ ProcessMessage() [5/6]

std::shared_ptr< zmq::message_t > open3d::io::rpc::MessageProcessorBase::ProcessMessage ( const messages::Request req,
const messages::SetProperties msg,
const msgpack::object_handle &  obj 
)
virtual

◆ ProcessMessage() [6/6]

std::shared_ptr< zmq::message_t > open3d::io::rpc::MessageProcessorBase::ProcessMessage ( const messages::Request req,
const messages::SetTime msg,
const msgpack::object_handle &  obj 
)
virtual

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