FancySafeBot 0.0.1
A safe robotics library
Loading...
Searching...
No Matches
fsb::urdf::UrdfError Class Reference

Detailed Description

Urdf parsing error.

#include <fsb_urdf_error.h>

Collaboration diagram for fsb::urdf::UrdfError:
Collaboration graph

Public Member Functions

 UrdfError (const UrdfErrorType type, std::string description)
 Constructor with type and error description.
 
bool is_error () const
 Get error status.
 
std::string get_description () const
 Get error description.
 
UrdfErrorType get_type () const
 Get error type.
 

Constructor & Destructor Documentation

◆ UrdfError()

fsb::urdf::UrdfError::UrdfError ( const UrdfErrorType  type,
std::string  description 
)
inline

Constructor with type and error description.

Parameters
typeError type
descriptionError description

Member Function Documentation

◆ get_description()

std::string fsb::urdf::UrdfError::get_description ( ) const
inline

Get error description.

Returns
Error description

◆ get_type()

UrdfErrorType fsb::urdf::UrdfError::get_type ( ) const
inline

Get error type.

Returns
Error type

◆ is_error()

bool fsb::urdf::UrdfError::is_error ( ) const
inline

Get error status.

Returns
true if error, false otherwise.

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