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 86 of file interface.h.

Member Enumeration Documentation

◆ DriverState

Enumerator
closed 
open 
ready 

Definition at line 88 of file interface.h.

Constructor & Destructor Documentation

◆ State()

can::State::State ( )
inline

Definition at line 94 of file interface.h.

◆ ~State()

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

Definition at line 96 of file interface.h.

Member Function Documentation

◆ isReady()

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

Definition at line 95 of file interface.h.

Member Data Documentation

◆ driver_state

enum can::State::DriverState can::State::driver_state

◆ error_code

boost::system::error_code can::State::error_code

device access error

Definition at line 91 of file interface.h.

◆ internal_error

unsigned int can::State::internal_error

driver specific error

Definition at line 92 of file interface.h.


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


socketcan_interface
Author(s): Mathias L├╝dtke
autogenerated on Tue May 4 2021 02:50:18