Classes | Typedefs | Functions
can Namespace Reference

Classes

class  AsioDriver
 
class  BCMsocket
 
class  BufferedReader
 
class  CommInterface
 
class  DriverInterface
 
class  DummyInterface
 
struct  ErrorHeader
 
struct  ExtendedHeader
 
class  FilteredDispatcher
 
class  FilteredFrameListener
 
struct  Frame
 
class  FrameFilter
 
class  FrameMaskFilter
 
class  FrameRangeFilter
 
struct  Header
 
class  Listener
 
struct  MsgHeader
 
class  SimpleDispatcher
 
class  SocketCANInterface
 
class  State
 
class  StateInterface
 
class  StateWaiter
 
class  ThreadedInterface
 

Typedefs

typedef boost::shared_ptr< CommInterfaceCommInterfaceSharedPtr
 
typedef boost::shared_ptr< DriverInterfaceDriverInterfaceSharedPtr
 
typedef boost::shared_ptr< DummyInterfaceDummyInterfaceSharedPtr
 
typedef boost::shared_ptr< FrameFilterFrameFilterSharedPtr
 
typedef CommInterface::FrameListenerConstSharedPtr FrameListenerConstSharedPtr
 
typedef SocketCANInterface SocketCANDriver
 
typedef boost::shared_ptr< SocketCANDriverSocketCANDriverSharedPtr
 
typedef boost::shared_ptr< SocketCANInterfaceSocketCANInterfaceSharedPtr
 
typedef boost::shared_ptr< StateInterfaceStateInterfaceSharedPtr
 
typedef StateInterface::StateListenerConstSharedPtr StateListenerConstSharedPtr
 
typedef ThreadedInterface< SocketCANInterfaceThreadedSocketCANInterface
 
typedef boost::shared_ptr< ThreadedSocketCANInterfaceThreadedSocketCANInterfaceSharedPtr
 

Functions

std::string buffer2hex (const std::string &in, bool lc)
 
std::string byte2hex (const uint8_t &d, bool pad, bool lc)
 
bool dec2hex (char &h, const uint8_t &d, bool lc)
 
bool hex2buffer (std::string &out, const std::string &in_raw, bool pad)
 
bool hex2dec (uint8_t &d, const char &h)
 
template<class T >
FrameFilterSharedPtr tofilter (const T &ct)
 
template<>
FrameFilterSharedPtr tofilter (const std::string &s)
 
template<>
FrameFilterSharedPtr tofilter (const uint32_t &id)
 
FrameFilterSharedPtr tofilter (const char *s)
 
template<typename T >
FilteredFrameListener::FilterVector tofilters (const T &v)
 
Frame toframe (const std::string &s)
 
Header toheader (const std::string &s)
 
uint32_t tohex (const std::string &s)
 
std::string tostring (const Header &h, bool lc)
 
std::string tostring (const Frame &f, bool lc)
 

Typedef Documentation

typedef boost::shared_ptr<CommInterface> can::CommInterfaceSharedPtr

Definition at line 159 of file interface.h.

typedef boost::shared_ptr<DriverInterface> can::DriverInterfaceSharedPtr

Definition at line 201 of file interface.h.

typedef boost::shared_ptr<DummyInterface> can::DummyInterfaceSharedPtr

Definition at line 95 of file dummy.h.

typedef boost::shared_ptr<FrameFilter> can::FrameFilterSharedPtr

Definition at line 15 of file filter.h.

Definition at line 160 of file interface.h.

Definition at line 221 of file socketcan.h.

typedef boost::shared_ptr<SocketCANDriver> can::SocketCANDriverSharedPtr

Definition at line 222 of file socketcan.h.

Definition at line 223 of file socketcan.h.

typedef boost::shared_ptr<StateInterface> can::StateInterfaceSharedPtr

Definition at line 123 of file interface.h.

Definition at line 124 of file interface.h.

Definition at line 225 of file socketcan.h.

Definition at line 227 of file socketcan.h.

Function Documentation

std::string can::buffer2hex ( const std::string &  in,
bool  lc 
)

Definition at line 64 of file string.cpp.

std::string can::byte2hex ( const uint8_t &  d,
bool  pad,
bool  lc 
)

Definition at line 51 of file string.cpp.

bool can::dec2hex ( char &  h,
const uint8_t &  d,
bool  lc 
)

Definition at line 37 of file string.cpp.

bool can::hex2buffer ( std::string &  out,
const std::string &  in_raw,
bool  pad 
)

Definition at line 18 of file string.cpp.

bool can::hex2dec ( uint8_t &  d,
const char &  h 
)

Definition at line 5 of file string.cpp.

template<class T >
FrameFilterSharedPtr can::tofilter ( const T &  ct)
template<>
FrameFilterSharedPtr can::tofilter ( const std::string &  s)

Definition at line 134 of file string.cpp.

template<>
FrameFilterSharedPtr can::tofilter ( const uint32_t &  id)

Definition at line 161 of file string.cpp.

FrameFilterSharedPtr can::tofilter ( const char *  s)

Definition at line 165 of file string.cpp.

template<typename T >
FilteredFrameListener::FilterVector can::tofilters ( const T &  v)

Definition at line 35 of file string.h.

Frame can::toframe ( const std::string &  s)

Definition at line 114 of file string.cpp.

Header can::toheader ( const std::string &  s)

Definition at line 99 of file string.cpp.

uint32_t can::tohex ( const std::string &  s)

Definition at line 91 of file string.cpp.

std::string can::tostring ( const Header h,
bool  lc 
)

Definition at line 77 of file string.cpp.

std::string can::tostring ( const Frame f,
bool  lc 
)

Definition at line 105 of file string.cpp.



socketcan_interface
Author(s): Mathias Lüdtke
autogenerated on Sat May 4 2019 02:40:41