Skip to content

Struct nebula::Status

ClassList > nebula > Status

Status definition.

  • #include <nebula_status.hpp>

Inherited by the following classes: nebula::HesaiStatus, nebula::VelodyneStatus

Public Types

Type Name
enum Type

Public Attributes

Type Name
enum nebula::Status::Type _type

Public Functions

Type Name
Status ()
Status (Type v)
Status (int type)
Type type () const

Public Types Documentation

enum Type

enum nebula::Status::Type {
    OK = 0,
    UDP_CONNECTION_ERROR,
    CAN_CONNECTION_ERROR,
    SENSOR_CONFIG_ERROR,
    INVALID_SENSOR_MODEL,
    INVALID_ECHO_MODE,
    NOT_IMPLEMENTED,
    NOT_INITIALIZED,
    INVALID_CALIBRATION_FILE,
    CANNOT_SAVE_FILE,
    HTTP_CONNECTION_ERROR,
    WAITING_FOR_SENSOR_RESPONSE,
    ERROR_1,
    Type_end_of_Status = ERROR_1
};

Public Attributes Documentation

variable _type

enum nebula::Status::Type nebula::Status::_type;

Public Functions Documentation

function Status [1/3]

inline nebula::Status::Status () 

function Status [2/3]

inline nebula::Status::Status (
    Type v
) 

function Status [3/3]

inline explicit nebula::Status::Status (
    int type
) 

function type

inline Type nebula::Status::type () const

Friends Documentation

friend operator!=

inline bool nebula::Status::operator!= (
    const Status & L,
    const Status & R
) 

friend operator<<

Convert Status enum to string (Overloading the << operator)

inline std::ostream & nebula::Status::operator<< (
    std::ostream & os,
    nebula::Status const & arg
) 

Parameters:

  • os
  • arg

Returns:

stream


friend operator==

inline bool nebula::Status::operator== (
    const Status & L,
    const Status & R
) 


The documentation for this class was generated from the following file nebula_common/include/nebula_common/nebula_status.hpp