|
ngscopeclient v0.1
|
A single symbol within a CAN bus protocol decode. More...
#include <CANChannel.h>
Public Types | |
| enum | stype { TYPE_SOF , TYPE_ID , TYPE_RTR , TYPE_R0 , TYPE_FD , TYPE_DLC , TYPE_DATA , TYPE_CRC_OK , TYPE_CRC_BAD , TYPE_CRC_DELIM , TYPE_ACK , TYPE_ACK_DELIM , TYPE_EOF } |
| Type of the symbol. More... | |
Public Member Functions | |
| CANSymbol () | |
| Default constructor, performs no initialization. | |
| CANSymbol (stype t, uint32_t data) | |
| Initializes a CAN symbol. More... | |
| bool | operator== (const CANSymbol &s) const |
| Checks this symbol for equality against a second. More... | |
Public Attributes | |
| stype | m_stype |
| Type of the symbol. | |
| uint32_t | m_data |
| Data value (meaning depends on type) | |
A single symbol within a CAN bus protocol decode.
| enum CANSymbol::stype |
Type of the symbol.
|
inline |
Initializes a CAN symbol.
| t | Type of the symbol |
| data | Data value |
|
inline |
Checks this symbol for equality against a second.
Two symbols are considered equal if both the type and data are equal.
| s | The other symbol |