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

(beaf1b45 (Tue Aug 11 17:09:40 2020 -0700))

#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)