23 #ifndef ICL_HARDWARE_CAN_FILTER_INTERPRET_MESSAGE_H_INCLUDED 24 #define ICL_HARDWARE_CAN_FILTER_INTERPRET_MESSAGE_H_INCLUDED 28 #include <icl_sourcesink/DataSinkRegistration.h> 30 #include <icl_sourcesink/DataFilter.h> 42 SOURCESINK_DECLARE_CONSOLE_SINK(InterpretedCanMessageSinkConsole,
InterpretedCanMessages,
"interpretedcan+console")
51 typedef boost::shared_ptr<HardwareCanFilterInterpretMessage>
Ptr;
53 typedef boost::shared_ptr<const HardwareCanFilterInterpretMessage>
ConstPtr;
57 using namespace icl_sourcesink;
63 "Converts tCanMessage to InterpretedCanMessage",
64 "can+interpreter:[?can_mask=<can_mask>]",
65 "<can_mask> Path to CAN mask file\n" 66 " (default: from config option /icl_hardware_can/can_mask)")));
72 const std::string& name =
"UnnamedHardwareCanFilterInterpretMessage");
#define ICL_HARDWARE_CAN_FILTER_IMPORT_EXPORT
Implements a struct representing a can message.
CanMatrix m_can_mask
Describes how the CAN traffic is to be interpreted.
This modul constructs a map of a can-mask-file the map can be request by getcanmatrix() ...
Contains CAN driver interface functions.
Converts tCanMessage to InterpretedCanMessage.
boost::shared_ptr< HardwareCanFilterInterpretMessage > Ptr
Shared pointer shorthand.
static icl_sourcesink::URISchemeMap supportedURISchemes()
boost::shared_ptr< const HardwareCanFilterInterpretMessage > ConstPtr
Const shared pointer shorthand.
std::map< unsigned int, std::vector< CanMatrixElement > > CanMatrix
std::vector< InterpretedCanMessage > InterpretedCanMessages