Identifier for an I/O interface. More...
Declaration
struct point_one::fusion_engine::messages::InterfaceID { ... }
Public Constructors Index
Public Operators Index
Public Member Attributes Index
Description
Identifier for an I/O interface.
For example, serial port 1 or TCP server 2.
On most devices, serial ports (UARTs) use 1-based numbering: the first serial port is typically index 1 (UART1).
Definition at line 1953 of file configuration.h.
Public Constructors
InterfaceID()
| P1_CONSTEXPR_FUNC point_one::fusion_engine::messages::InterfaceID::InterfaceID () |
|
default
|
InterfaceID()
| P1_CONSTEXPR_FUNC point_one::fusion_engine::messages::InterfaceID::InterfaceID (TransportType type, uint8_t index=0) |
|
inline
explicit
|
Public Operators
operator!=()
| P1_CONSTEXPR_FUNC bool point_one::fusion_engine::messages::InterfaceID::operator!= (const InterfaceID & other) |
|
inline
|
operator<()
| P1_CONSTEXPR_FUNC bool point_one::fusion_engine::messages::InterfaceID::operator< (const InterfaceID & other) |
|
inline
|
Definition at line 1973 of file configuration.h.
1974 if (type == other.type) {
1975 return index < other.index;
1976 } else {
1977 return type < other.type;
1978 }
1979 }
operator<=()
| P1_CONSTEXPR_FUNC bool point_one::fusion_engine::messages::InterfaceID::operator<= (const InterfaceID & other) |
|
inline
|
operator==()
| P1_CONSTEXPR_FUNC bool point_one::fusion_engine::messages::InterfaceID::operator== (const InterfaceID & other) |
|
inline
|
operator>()
| P1_CONSTEXPR_FUNC bool point_one::fusion_engine::messages::InterfaceID::operator> (const InterfaceID & other) |
|
inline
|
operator>=()
| P1_CONSTEXPR_FUNC bool point_one::fusion_engine::messages::InterfaceID::operator>= (const InterfaceID & other) |
|
inline
|
Public Member Attributes
index
| uint8_t point_one::fusion_engine::messages::InterfaceID::index = 0 |
|
An identifier for the instance of this transport.
Definition at line 1957 of file configuration.h.
type
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.