Open3D (C++ API)  0.12.0
Namespaces | Functions
MessageUtils.cpp File Reference

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

#include "open3d/io/rpc/MessageUtils.h"
#include <zmq.hpp>
#include "open3d/io/rpc/Messages.h"
#include "open3d/utility/Console.h"

Namespaces

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

Functions

std::shared_ptr< messages::Status > open3d::io::rpc::UnpackStatusFromReply (const zmq::message_t &msg, size_t &offset, bool &ok)
 
bool open3d::io::rpc::ReplyIsOKStatus (const zmq::message_t &msg)
 Convenience function for checking if the message is an OK. More...
 
bool open3d::io::rpc::ReplyIsOKStatus (const zmq::message_t &msg, size_t &offset)
 
std::string open3d::io::rpc::CreateSerializedRequestMessage (const std::string &msg_id)
 Creates a serialized Request message for testing purposes. More...
 
std::tuple< const void *, size_t > open3d::io::rpc::GetZMQMessageDataAndSize (const zmq::message_t &msg)
 
std::tuple< int32_t, std::string > open3d::io::rpc::GetStatusCodeAndStr (const messages::Status &status)
 
std::shared_ptr< zmq::message_t > open3d::io::rpc::CreateStatusOKMsg ()