Public Member Functions | Protected Attributes | List of all members
icl_hardware::canopen_schunk::ProtocolException Class Reference

Basic CanOpen exception that contains the Object dictionary index and subindex. More...

#include <exceptions.h>

Inheritance diagram for icl_hardware::canopen_schunk::ProtocolException:
Inheritance graph
[legend]

Public Member Functions

 ProtocolException (const uint16_t index, const uint8_t subindex, const std::string &error_msg="none")
 
virtual const char * what () const _GLIBCXX_USE_NOEXCEPT
 
virtual ~ProtocolException (void) _GLIBCXX_USE_NOEXCEPT
 

Protected Attributes

std::string error_msg_
 
uint16_t index_
 
uint8_t subindex_
 

Detailed Description

Basic CanOpen exception that contains the Object dictionary index and subindex.

Definition at line 37 of file exceptions.h.

Constructor & Destructor Documentation

icl_hardware::canopen_schunk::ProtocolException::ProtocolException ( const uint16_t  index,
const uint8_t  subindex,
const std::string &  error_msg = "none" 
)
inline

Definition at line 40 of file exceptions.h.

virtual icl_hardware::canopen_schunk::ProtocolException::~ProtocolException ( void  )
inlinevirtual

Definition at line 48 of file exceptions.h.

Member Function Documentation

virtual const char* icl_hardware::canopen_schunk::ProtocolException::what ( ) const
inlinevirtual

Member Data Documentation

std::string icl_hardware::canopen_schunk::ProtocolException::error_msg_
protected

Definition at line 62 of file exceptions.h.

uint16_t icl_hardware::canopen_schunk::ProtocolException::index_
protected

Definition at line 60 of file exceptions.h.

uint8_t icl_hardware::canopen_schunk::ProtocolException::subindex_
protected

Definition at line 61 of file exceptions.h.


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


schunk_canopen_driver
Author(s): Felix Mauch , Georg Heppner
autogenerated on Mon Jun 10 2019 15:07:49