Open3D (C++ API)  0.17.0
Public Member Functions | Static Public Member Functions | Data Fields
open3d::io::rpc::messages::Status Struct Reference

#include <Messages.h>

Public Member Functions

 Status ()
 
 Status (int code, const std::string &str)
 
 MSGPACK_DEFINE_MAP (code, str)
 

Static Public Member Functions

static std::string MsgId ()
 
static Status OK ()
 
static Status ErrorUnsupportedMsgId ()
 
static Status ErrorUnpackingFailed ()
 
static Status ErrorProcessingMessage ()
 

Data Fields

int32_t code
 return code. 0 means everything is OK. More...
 
std::string str
 string representation of the code More...
 

Detailed Description

struct for defining a "status" message, which will be used for returning error codes or returning code 0 if the call does not return something else.

Constructor & Destructor Documentation

◆ Status() [1/2]

open3d::io::rpc::messages::Status::Status ( )
inline

◆ Status() [2/2]

open3d::io::rpc::messages::Status::Status ( int  code,
const std::string &  str 
)
inline

Member Function Documentation

◆ ErrorProcessingMessage()

static Status open3d::io::rpc::messages::Status::ErrorProcessingMessage ( )
inlinestatic

◆ ErrorUnpackingFailed()

static Status open3d::io::rpc::messages::Status::ErrorUnpackingFailed ( )
inlinestatic

◆ ErrorUnsupportedMsgId()

static Status open3d::io::rpc::messages::Status::ErrorUnsupportedMsgId ( )
inlinestatic

◆ MsgId()

static std::string open3d::io::rpc::messages::Status::MsgId ( )
inlinestatic

◆ MSGPACK_DEFINE_MAP()

open3d::io::rpc::messages::Status::MSGPACK_DEFINE_MAP ( code  ,
str   
)

◆ OK()

static Status open3d::io::rpc::messages::Status::OK ( )
inlinestatic

Field Documentation

◆ code

int32_t open3d::io::rpc::messages::Status::code

return code. 0 means everything is OK.

◆ str

std::string open3d::io::rpc::messages::Status::str

string representation of the code


The documentation for this struct was generated from the following file: