#include <uwtokenbus_hdr.h>
Header of the token bus protocol.
Definition at line 54 of file uwtokenbus_hdr.h.
◆ access()
| static struct hdr_tokenbus * hdr_tokenbus::access |
( |
const Packet * |
p | ) |
|
|
inlinestatic |
Returns a pointer to the tokenbus header of the packet p.
- Parameters
-
- Returns
- a pointer to the tokenbus header of the packet p
Definition at line 92 of file uwtokenbus_hdr.h.
◆ getSize()
| size_t hdr_tokenbus::getSize |
( |
| ) |
const |
|
inline |
Returns the size of this header.
- Returns
- the size of this header
Definition at line 72 of file uwtokenbus_hdr.h.
◆ offset()
| static int & hdr_tokenbus::offset |
( |
| ) |
|
|
inlinestatic |
Returns a reference to the offset variable.
- Returns
- a reference to the offset variable
Definition at line 81 of file uwtokenbus_hdr.h.
◆ tokenId()
Returns a reference to the token_id variable.
- Returns
- a reference to the token_id variable
Definition at line 63 of file uwtokenbus_hdr.h.
◆ offset_
| int hdr_tokenbus::offset_ = 0 |
|
static |
◆ token_id_
progressive token id, indicates which node has the token
Definition at line 57 of file uwtokenbus_hdr.h.
The documentation for this struct was generated from the following files: