DESERT 3.5.1
|
#include <uwranging_tokenbus_hdr.h>
Public Member Functions | |
std::vector< uwrange_time_t > & | times () |
uwrange_time_t & | token_hold () |
bool & | token_resend () |
size_t | getSize () const |
Static Public Member Functions | |
static int & | offset () |
static struct hdr_uwranging_tokenbus * | access (const Packet *p) |
Public Attributes | |
uwrange_time_t | token_hold_ |
std::vector< uwrange_time_t > | times_ |
bool | token_resend_ = false |
Static Public Attributes | |
static int | offset_ = 0 |
Header of the token bus protocol.
Definition at line 56 of file uwranging_tokenbus_hdr.h.
|
inlinestatic |
Returns a pointer to the tokenbus_ranging header of a packet.
p | Packet |
Definition at line 113 of file uwranging_tokenbus_hdr.h.
|
inline |
Returns the size of this header.
Definition at line 93 of file uwranging_tokenbus_hdr.h.
|
inlinestatic |
Returns a reference to the offset_ variable.
Definition at line 102 of file uwranging_tokenbus_hdr.h.
|
inline |
Returns a reference to the travel times array.
Definition at line 67 of file uwranging_tokenbus_hdr.h.
|
inline |
Returns a reference to token_hold_ value.
Definition at line 76 of file uwranging_tokenbus_hdr.h.
|
inline |
Returns a reference to token_resend_.
Definition at line 85 of file uwranging_tokenbus_hdr.h.
|
static |
Required by the PacketHeaderManager.
Definition at line 58 of file uwranging_tokenbus_hdr.h.
std::vector<uwrange_time_t> hdr_uwranging_tokenbus::times_ |
Holds the times calculated by the node.
Definition at line 60 of file uwranging_tokenbus_hdr.h.
uwrange_time_t hdr_uwranging_tokenbus::token_hold_ |
time elapsed from token rx and token pass
Definition at line 59 of file uwranging_tokenbus_hdr.h.
bool hdr_uwranging_tokenbus::token_resend_ = false |
flag set if token is retransmitted when TokenPass timer expires
Definition at line 61 of file uwranging_tokenbus_hdr.h.