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

(252c867 (Sun May 5 05:39:34 2024 +0000))

#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