#include <HardwareCanSinkPeak.h>
Public Types | |
typedef boost::shared_ptr < const HardwareCanSinkPeak > | ConstPtr |
Const shared pointer shorthand. | |
typedef boost::shared_ptr < HardwareCanSinkPeak > | Ptr |
Shared pointer shorthand. | |
Public Member Functions | |
HardwareCanSinkPeak (const std::string &uri="HardwareCanSinkPeak", const std::string &name="UnnamedHardwareCanSinkPeak") | |
Constructor. | |
virtual void | set (const CanMessageStamped::Ptr &msg) |
virtual | ~HardwareCanSinkPeak () |
Destructor. | |
Static Public Member Functions | |
static icl_sourcesink::URISchemeMap | supportedURISchemes () |
Private Attributes | |
boost::scoped_ptr< tCanDevice > | m_can_device |
The CAN device. |
This sink receives a tCanMessage and sends it to a predefined Peak CAN device.
Definition at line 40 of file HardwareCanSinkPeak.h.
typedef boost::shared_ptr<const HardwareCanSinkPeak> icl_hardware::can::HardwareCanSinkPeak::ConstPtr |
Const shared pointer shorthand.
Definition at line 46 of file HardwareCanSinkPeak.h.
typedef boost::shared_ptr<HardwareCanSinkPeak> icl_hardware::can::HardwareCanSinkPeak::Ptr |
Shared pointer shorthand.
Definition at line 44 of file HardwareCanSinkPeak.h.
icl_hardware::can::HardwareCanSinkPeak::HardwareCanSinkPeak | ( | const std::string & | uri = "HardwareCanSinkPeak" , |
const std::string & | name = "UnnamedHardwareCanSinkPeak" |
||
) |
Constructor.
Definition at line 35 of file HardwareCanSinkPeak.cpp.
Destructor.
Definition at line 74 of file HardwareCanSinkPeak.cpp.
void icl_hardware::can::HardwareCanSinkPeak::set | ( | const CanMessageStamped::Ptr & | msg | ) | [virtual] |
Definition at line 77 of file HardwareCanSinkPeak.cpp.
static icl_sourcesink::URISchemeMap icl_hardware::can::HardwareCanSinkPeak::supportedURISchemes | ( | ) | [inline, static] |
Definition at line 48 of file HardwareCanSinkPeak.h.
boost::scoped_ptr<tCanDevice> icl_hardware::can::HardwareCanSinkPeak::m_can_device [private] |
The CAN device.
Definition at line 75 of file HardwareCanSinkPeak.h.