Go to the documentation of this file.
18 #ifndef SOCKETCAN__SOCKET_CAN_ID_HPP_
19 #define SOCKETCAN__SOCKET_CAN_ID_HPP_
42 : runtime_error{what} {}
81 CanId & standard() noexcept;
83 CanId & extended() noexcept;
85 CanId & error_frame() noexcept;
87 CanId & remote_frame() noexcept;
89 CanId & data_frame() noexcept;
97 IdT identifier() const noexcept;
99 IdT get() const noexcept;
101 bool8_t is_extended() const noexcept;
106 LengthT length() const noexcept;
112 LengthT m_data_length{};
118 #endif // SOCKETCAN__SOCKET_CAN_ID_HPP_
This file includes common type definition.
Tag for standard frame.
Definition: socket_can_id.hpp:54
constexpr std::size_t MAX_DATA_LENGTH
Definition: socket_can_id.hpp:36
#define SOCKETCAN_PUBLIC
Definition: drivers/socketcan/include/socketcan/visibility_control.hpp:44
SocketCanTimeout(const char8_t *const what)
Definition: socket_can_id.hpp:41
uint32_t IdT
Definition: socket_can_id.hpp:67
#define SOCKETCAN_LOCAL
Definition: drivers/socketcan/include/socketcan/visibility_control.hpp:45
Tag for extended frame.
Definition: socket_can_id.hpp:58
char char8_t
Definition: types.hpp:34
bool bool8_t
Definition: types.hpp:33
This file defines the lanelet2_map_provider_node class.
Definition: quick_sort.hpp:24
Special error for timeout.
Definition: socket_can_id.hpp:38
constexpr ExtendedFrame_ ExtendedFrame
Definition: socket_can_id.hpp:60
FrameType
Definition: socket_can_id.hpp:45
Definition: socket_can_id.hpp:64
uint32_t LengthT
Definition: socket_can_id.hpp:68
constexpr StandardFrame_ StandardFrame
Definition: socket_can_id.hpp:56