|
DESERT 4.0.0
|
#include <uwtokenbus_hdr.h>

Public Member Functions | |
| tokenid_t & | tokenId () |
| size_t | getSize () const |
Static Public Member Functions | |
| static int & | offset () |
| static struct hdr_tokenbus * | access (const Packet *p) |
Public Attributes | |
| tokenid_t | token_id_ |
Static Public Attributes | |
| static int | offset_ = 0 |
Header of the token bus protocol
|
inlinestatic |
|
inline |
Returns the size of this header
Referenced by UwTokenBus::initPkt(), UwTokenBus::sendToken(), and UwRangingTokenBus::sendToken().
|
inlinestatic |
Returns a reference to the offset variable
References offset_.
|
inline |
Returns a reference to the token_id variable
References token_id_.
Referenced by UwTokenBus::Mac2PhyStartTx(), UwTokenBus::Phy2MacEndRx(), UwRangingTokenBus::Phy2MacEndRx(), UwTokenBus::sendToken(), UwRangingTokenBus::sendToken(), and UwTokenBus::validToken().
|
static |
| tokenid_t hdr_tokenbus::token_id_ |
progressive token id, indicates which node has the token
Referenced by tokenId().