Public Types | Public Member Functions | Public Attributes | List of all members
can::State Class Reference

#include <interface.h>

Public Types

enum  DriverState { closed, open, ready }
 

Public Member Functions

virtual bool isReady () const
 
 State ()
 
virtual ~State ()
 

Public Attributes

enum can::State::DriverState driver_state
 
boost::system::error_code error_code
 device access error More...
 
unsigned int internal_error
 driver specific error More...
 

Detailed Description

extended error information

Definition at line 80 of file interface.h.

Member Enumeration Documentation

Enumerator
closed 
open 
ready 

Definition at line 82 of file interface.h.

Constructor & Destructor Documentation

can::State::State ( )
inline

Definition at line 88 of file interface.h.

virtual can::State::~State ( )
inlinevirtual

Definition at line 90 of file interface.h.

Member Function Documentation

virtual bool can::State::isReady ( ) const
inlinevirtual

Definition at line 89 of file interface.h.

Member Data Documentation

enum can::State::DriverState can::State::driver_state
boost::system::error_code can::State::error_code

device access error

Definition at line 85 of file interface.h.

unsigned int can::State::internal_error

driver specific error

Definition at line 86 of file interface.h.


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


socketcan_interface
Author(s): Mathias Lüdtke
autogenerated on Fri May 14 2021 02:59:39