ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
MessageUtils.h File Reference
Include dependency graph for MessageUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 zmq
 
 cloudViewer
 Generic file read and write utility for python interface.
 
 cloudViewer::io
 
 cloudViewer::io::rpc
 
 cloudViewer::io::rpc::messages
 

Functions

std::shared_ptr< messages::Status > cloudViewer::io::rpc::UnpackStatusFromReply (const zmq::message_t &msg, size_t &offset, bool &ok)
 
bool cloudViewer::io::rpc::ReplyIsOKStatus (const zmq::message_t &msg)
 Convenience function for checking if the message is an OK. More...
 
bool cloudViewer::io::rpc::ReplyIsOKStatus (const zmq::message_t &msg, size_t &offset)
 
std::string cloudViewer::io::rpc::CreateSerializedRequestMessage (const std::string &msg_id)
 Creates a serialized Request message for testing purposes. More...
 
std::tuple< const void *, size_t > cloudViewer::io::rpc::GetZMQMessageDataAndSize (const zmq::message_t &msg)
 
std::tuple< int32_t, std::string > cloudViewer::io::rpc::GetStatusCodeAndStr (const messages::Status &status)
 
std::shared_ptr< zmq::message_t > cloudViewer::io::rpc::CreateStatusOKMsg ()
 
std::shared_ptr< t::geometry::Geometry > cloudViewer::io::rpc::MeshDataToGeometry (const messages::MeshData &mesh_data)
 
messages::MeshData cloudViewer::io::rpc::GeometryToMeshData (const t::geometry::TriangleMesh &trimesh)
 
messages::MeshData cloudViewer::io::rpc::GeometryToMeshData (const t::geometry::PointCloud &pcd)
 
messages::MeshData cloudViewer::io::rpc::GeometryToMeshData (const t::geometry::LineSet &ls)
 
std::tuple< std::string, double, std::shared_ptr< t::geometry::Geometry > > cloudViewer::io::rpc::DataBufferToMetaGeometry (std::string &data)