Struct Header
Defined in File interface.hpp
Inheritance Relationships
Derived Types
public can::ErrorHeader
(Struct ErrorHeader)public can::ExtendedHeader
(Struct ExtendedHeader)public can::Frame
(Struct Frame)public can::MsgHeader
(Struct MsgHeader)
Struct Documentation
-
struct Header
Header for CAN id an meta data
Subclassed by can::ErrorHeader, can::ExtendedHeader, can::Frame, can::MsgHeader
Public Functions
-
inline bool isValid() const
check if frame header is valid
-
inline unsigned int fullid() const
-
inline unsigned int key() const
-
inline Header()
constructor with default parameters
- Parameters:
i – [in] CAN id, defaults to 0
extended – [in] uses 29 bit identifier, defaults to false
rtr – [in] is rtr frame, defaults to false
-
inline Header(unsigned int i, bool extended, bool rtr, bool error)
-
inline bool isValid() const