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

(b9e049c (Sun Dec 31 11:36:26 2023 -0800))

#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