Robotics Library  0.6.2
Public Types | Public Member Functions | Private Attributes | List of all members
rl::hal::WeissWsg50::Exception Class Reference

#include <WeissWsg50.h>

Inheritance diagram for rl::hal::WeissWsg50::Exception:
Inheritance graph
[legend]

Public Types

enum  Error {
  ERROR_SUCCESS = 0, ERROR_NOT_AVAILABLE, ERROR_NO_SENSOR, ERROR_NOT_INITIALIZED,
  ERROR_ALREADY_RUNNING, ERROR_FEATURE_NOT_SUPPORTED, ERROR_INCONSISTENT_DATA, ERROR_TIMEOUT,
  ERROR_READ_ERROR, ERROR_WRITE_ERROR, ERROR_INSUFFICIENT_RESOURCES, ERROR_CHECKSUM_ERROR,
  ERROR_NO_PARAM_EXPECTED, ERROR_NOT_ENOUGH_PARAMS, ERROR_CMD_UNKNOWN, ERROR_CMD_FORMAT_ERROR,
  ERROR_ACCESS_DENIED, ERROR_ALREADY_OPEN, ERROR_CMD_FAILED, ERROR_CMD_ABORTED,
  ERROR_INVALID_HANDLE, ERROR_NOT_FOUND, ERROR_NOT_OPEN, ERROR_IO_ERROR,
  ERROR_INVALID_PARAMETER, ERROR_INDEX_OUT_OF_BOUNDS, ERROR_CMD_PENDING, ERROR_OVERRUN,
  ERROR_RANGE_ERROR, ERROR_AXIS_BLOCKED, ERROR_FILE_EXISTS
}
 

Public Member Functions

 Exception (const Error &error)
 
virtual ~Exception () throw ()
 
Error getError () const
 
virtual const char * what () const throw ()
 
- Public Member Functions inherited from rl::hal::DeviceException
 DeviceException (const ::std::string &what_arg)
 
virtual ~DeviceException () throw ()
 
- Public Member Functions inherited from rl::hal::Exception
 Exception (const ::std::string &what_arg)
 

Private Attributes

Error error
 

Member Enumeration Documentation

◆ Error

Enumerator
ERROR_SUCCESS 
ERROR_NOT_AVAILABLE 
ERROR_NO_SENSOR 
ERROR_NOT_INITIALIZED 
ERROR_ALREADY_RUNNING 
ERROR_FEATURE_NOT_SUPPORTED 
ERROR_INCONSISTENT_DATA 
ERROR_TIMEOUT 
ERROR_READ_ERROR 
ERROR_WRITE_ERROR 
ERROR_INSUFFICIENT_RESOURCES 
ERROR_CHECKSUM_ERROR 
ERROR_NO_PARAM_EXPECTED 
ERROR_NOT_ENOUGH_PARAMS 
ERROR_CMD_UNKNOWN 
ERROR_CMD_FORMAT_ERROR 
ERROR_ACCESS_DENIED 
ERROR_ALREADY_OPEN 
ERROR_CMD_FAILED 
ERROR_CMD_ABORTED 
ERROR_INVALID_HANDLE 
ERROR_NOT_FOUND 
ERROR_NOT_OPEN 
ERROR_IO_ERROR 
ERROR_INVALID_PARAMETER 
ERROR_INDEX_OUT_OF_BOUNDS 
ERROR_CMD_PENDING 
ERROR_OVERRUN 
ERROR_RANGE_ERROR 
ERROR_AXIS_BLOCKED 
ERROR_FILE_EXISTS 

Constructor & Destructor Documentation

◆ Exception()

rl::hal::WeissWsg50::Exception::Exception ( const Error error)

◆ ~Exception()

rl::hal::WeissWsg50::Exception::~Exception ( )
throw (
)
virtual

Reimplemented from rl::hal::Exception.

Member Function Documentation

◆ getError()

WeissWsg50::Exception::Error rl::hal::WeissWsg50::Exception::getError ( ) const

◆ what()

const char * rl::hal::WeissWsg50::Exception::what ( ) const
throw (
)
virtual

Member Data Documentation

◆ error

Error rl::hal::WeissWsg50::Exception::error
private

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