Public Member Functions | Static Public Member Functions | List of all members
moveit::core::MoveItErrorCode Class Reference

a wrapper around moveit_msgs::MoveItErrorCodes to make it easier to return an error code message from a function More...

#include <moveit_error_code.h>

Inheritance diagram for moveit::core::MoveItErrorCode:
Inheritance graph
[legend]

Public Member Functions

 MoveItErrorCode (const moveit_msgs::MoveItErrorCodes &code)
 
 MoveItErrorCode (int code=0)
 
 operator bool () const
 
 operator std::string () const
 
bool operator!= (const int c) const
 
bool operator== (const int c) const
 

Static Public Member Functions

static const char * toString (const moveit_msgs::MoveItErrorCodes &error_code)
 

Detailed Description

a wrapper around moveit_msgs::MoveItErrorCodes to make it easier to return an error code message from a function

Definition at line 110 of file moveit_error_code.h.

Constructor & Destructor Documentation

◆ MoveItErrorCode() [1/2]

moveit::core::MoveItErrorCode::MoveItErrorCode ( int  code = 0)
inline

Definition at line 147 of file moveit_error_code.h.

◆ MoveItErrorCode() [2/2]

moveit::core::MoveItErrorCode::MoveItErrorCode ( const moveit_msgs::MoveItErrorCodes &  code)
inline

Definition at line 151 of file moveit_error_code.h.

Member Function Documentation

◆ operator bool()

moveit::core::MoveItErrorCode::operator bool ( ) const
inlineexplicit

Definition at line 155 of file moveit_error_code.h.

◆ operator std::string()

moveit::core::MoveItErrorCode::operator std::string ( ) const
inlineexplicit

Definition at line 159 of file moveit_error_code.h.

◆ operator!=()

bool moveit::core::MoveItErrorCode::operator!= ( const int  c) const
inline

Definition at line 167 of file moveit_error_code.h.

◆ operator==()

bool moveit::core::MoveItErrorCode::operator== ( const int  c) const
inline

Definition at line 163 of file moveit_error_code.h.

◆ toString()

const char * moveit::core::MoveItErrorCode::toString ( const moveit_msgs::MoveItErrorCodes &  error_code)
static

Definition at line 105 of file moveit_error_code.cpp.


The documentation for this class was generated from the following files:


moveit_core
Author(s): Ioan Sucan , Sachin Chitta , Acorn Pooley
autogenerated on Mon May 27 2024 02:26:55