25 #ifndef ICL_HARDWARE_CAN_SINK_HARDWARE_CAN_SINK_PEAK_H_INCLUDED 26 #define ICL_HARDWARE_CAN_SINK_HARDWARE_CAN_SINK_PEAK_H_INCLUDED 28 #include <icl_sourcesink/DataSinkRegistration.h> 44 typedef boost::shared_ptr<HardwareCanSinkPeak>
Ptr;
46 typedef boost::shared_ptr<const HardwareCanSinkPeak>
ConstPtr;
50 using namespace icl_sourcesink;
56 "Writes CAN message data to a Peak CAN device.",
57 "can+peak:<path>[?baudrate=<baudrate>]",
58 "<path> Path to CAN device (default: /dev/pcan0)\n" 59 "<baudrate> CAN baudrate [kbps] (default: 500).")));
65 const std::string& name =
"UnnamedHardwareCanSinkPeak");
icl_sourcesink::DataSink< tCanMessage > HardwareCanSink
Base type for all sinks providing tCanMessage data.
boost::shared_ptr< HardwareCanSinkPeak > Ptr
Shared pointer shorthand.
boost::shared_ptr< Stamped< DataType > > Ptr
boost::scoped_ptr< tCanDevice > m_can_device
The CAN device.
#define ICL_HARDWARE_CAN_SINK_IMPORT_EXPORT
boost::shared_ptr< const HardwareCanSinkPeak > ConstPtr
Const shared pointer shorthand.
static icl_sourcesink::URISchemeMap supportedURISchemes()