Open3D (C++ API)  0.12.0
Data Structures | Namespaces | Macros
ReceiverBase.cpp File Reference

(313315d (Wed Dec 23 23:39:47 2020 -0800))

#include "open3d/io/rpc/ReceiverBase.h"
#include <zmq.hpp>
#include "open3d/io/rpc/Messages.h"
#include "open3d/io/rpc/ZMQContext.h"

Data Structures

struct  open3d::io::rpc::ReceiverBase::MsgpackObject
 

Namespaces

 open3d
 
 open3d::io
 
 open3d::io::rpc
 

Macros

#define PROCESS_MESSAGE(MSGTYPE)
 

Macro Definition Documentation

◆ PROCESS_MESSAGE

#define PROCESS_MESSAGE (   MSGTYPE)
Value:
else if (MSGTYPE::MsgId() == req.msg_id) { \
auto oh = msgpack::unpack(buffer, buffer_size, offset, nullptr, \
nullptr, limits); \
auto obj = oh.get(); \
MSGTYPE msg; \
msg = obj.as<MSGTYPE>(); \
auto reply = ProcessMessage(req, msg, MsgpackObject(obj)); \
if (reply) { \
replies.push_back(reply); \
} else { \
replies.push_back(CreateStatusMessage( \
messages::Status::ErrorProcessingMessage())); \
} \
}
int offset
Definition: FilePCD.cpp:64