Classes | |
class | AsioDriver |
class | BCMsocket |
class | BufferedReader |
class | CommInterface |
class | DelegateHelper |
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 | NoSettings |
class | Settings |
class | SettingsMap |
class | SimpleDispatcher |
class | SocketCANInterface |
class | State |
class | StateInterface |
class | StateWaiter |
class | ThreadedInterface |
Typedefs | |
using | CommInterfaceSharedPtr = std::shared_ptr< CommInterface > |
using | DriverInterfaceSharedPtr = std::shared_ptr< DriverInterface > |
using | DummyInterfaceSharedPtr = std::shared_ptr< DummyInterface > |
using | FrameFilterSharedPtr = std::shared_ptr< FrameFilter > |
using | FrameListenerConstSharedPtr = CommInterface::FrameListenerConstSharedPtr |
using | SettingsConstSharedPtr = std::shared_ptr< const Settings > |
using | SettingsSharedPtr = std::shared_ptr< Settings > |
using | SocketCANDriver = SocketCANInterface |
using | SocketCANDriverSharedPtr = std::shared_ptr< SocketCANDriver > |
using | SocketCANInterfaceSharedPtr = std::shared_ptr< SocketCANInterface > |
using | StateInterfaceSharedPtr = std::shared_ptr< StateInterface > |
using | StateListenerConstSharedPtr = StateInterface::StateListenerConstSharedPtr |
using | ThreadedSocketCANInterface = ThreadedInterface< SocketCANInterface > |
using | ThreadedSocketCANInterfaceSharedPtr = std::shared_ptr< ThreadedSocketCANInterface > |
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) |
std::ostream & | operator<< (std::ostream &stream, const Frame &f) |
std::ostream & | operator<< (std::ostream &stream, const Header &h) |
FrameFilterSharedPtr | tofilter (const char *s) |
template<> | |
FrameFilterSharedPtr | tofilter (const std::string &s) |
template<class T > | |
FrameFilterSharedPtr | tofilter (const T &ct) |
template<> | |
FrameFilterSharedPtr | tofilter (const uint32_t &id) |
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 Frame &f, bool lc) |
std::string | tostring (const Header &h, bool lc) |
using can::CommInterfaceSharedPtr = typedef std::shared_ptr<CommInterface> |
Definition at line 175 of file interface.h.
using can::DriverInterfaceSharedPtr = typedef std::shared_ptr<DriverInterface> |
Definition at line 225 of file interface.h.
using can::DummyInterfaceSharedPtr = typedef std::shared_ptr<DummyInterface> |
using can::FrameFilterSharedPtr = typedef std::shared_ptr<FrameFilter> |
Definition at line 176 of file interface.h.
using can::SettingsConstSharedPtr = typedef std::shared_ptr<const Settings> |
Definition at line 31 of file settings.h.
using can::SettingsSharedPtr = typedef std::shared_ptr<Settings> |
Definition at line 32 of file settings.h.
using can::SocketCANDriver = typedef SocketCANInterface |
Definition at line 266 of file socketcan.h.
using can::SocketCANDriverSharedPtr = typedef std::shared_ptr<SocketCANDriver> |
Definition at line 267 of file socketcan.h.
using can::SocketCANInterfaceSharedPtr = typedef std::shared_ptr<SocketCANInterface> |
Definition at line 268 of file socketcan.h.
using can::StateInterfaceSharedPtr = typedef std::shared_ptr<StateInterface> |
Definition at line 132 of file interface.h.
Definition at line 133 of file interface.h.
using can::ThreadedSocketCANInterface = typedef ThreadedInterface<SocketCANInterface> |
Definition at line 271 of file socketcan.h.
using can::ThreadedSocketCANInterfaceSharedPtr = typedef std::shared_ptr<ThreadedSocketCANInterface> |
Definition at line 272 of file socketcan.h.
std::string can::buffer2hex | ( | const std::string & | in, |
bool | lc | ||
) |
Definition at line 65 of file string.cpp.
std::string can::byte2hex | ( | const uint8_t & | d, |
bool | pad, | ||
bool | lc | ||
) |
Definition at line 52 of file string.cpp.
bool can::dec2hex | ( | char & | h, |
const uint8_t & | d, | ||
bool | lc | ||
) |
Definition at line 38 of file string.cpp.
bool can::hex2buffer | ( | std::string & | out, |
const std::string & | in_raw, | ||
bool | pad | ||
) |
Definition at line 19 of file string.cpp.
bool can::hex2dec | ( | uint8_t & | d, |
const char & | h | ||
) |
Definition at line 6 of file string.cpp.
std::ostream & can::operator<< | ( | std::ostream & | stream, |
const Frame & | f | ||
) |
Definition at line 178 of file string.cpp.
std::ostream & can::operator<< | ( | std::ostream & | stream, |
const Header & | h | ||
) |
Definition at line 174 of file string.cpp.
FrameFilterSharedPtr can::tofilter | ( | const char * | s | ) |
Definition at line 170 of file string.cpp.
FrameFilterSharedPtr can::tofilter | ( | const std::string & | s | ) |
Definition at line 139 of file string.cpp.
FrameFilterSharedPtr can::tofilter | ( | const T & | ct | ) |
FrameFilterSharedPtr can::tofilter | ( | const uint32_t & | id | ) |
Definition at line 166 of file string.cpp.
FilteredFrameListener::FilterVector can::tofilters | ( | const T & | v | ) |
Frame can::toframe | ( | const std::string & | s | ) |
Definition at line 119 of file string.cpp.
Header can::toheader | ( | const std::string & | s | ) |
Definition at line 103 of file string.cpp.
uint32_t can::tohex | ( | const std::string & | s | ) |
Definition at line 95 of file string.cpp.
std::string can::tostring | ( | const Frame & | f, |
bool | lc | ||
) |
Definition at line 110 of file string.cpp.
std::string can::tostring | ( | const Header & | h, |
bool | lc | ||
) |
Definition at line 78 of file string.cpp.