Open3D (C++ API)  0.17.0
Namespaces | Macros
ZMQReceiver.cpp File Reference

(9238339 (Tue Mar 14 18:49:09 2023 -0700))

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

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 = processor_->ProcessMessage(req, msg, oh); \
if (reply) { \
replies.push_back(reply); \
} else { \
replies.push_back(CreateStatusMessage( \
messages::Status::ErrorProcessingMessage())); \
} \
}
int offset
Definition: FilePCD.cpp:45