awds::Beacon Class Reference

#include <beacon.h>

Inheritance diagram for awds::Beacon:

awds::SrcPacket

List of all members.

Public Member Functions

 Beacon (BasePacket &p)
gea::Duration getPeriod () const
void setPeriod (const gea::Duration &d)
int getNumNoMpr ()
void setNumNoMpr (int n)
int getNumMpr ()
void setNumMpr (int n)
void setNeigh (class AwdsRouting *awdsRouting, gea::AbsTime t)
void add2Hop (class AwdsRouting *awdsRouting)
void remove2Hop (class AwdsRouting *awdsRouting)
bool hasNoMpr (const NodeId &id)
bool hasMpr (const NodeId &id)
bool hasNeigh (const NodeId &id)
bool tryRemoveFromMpr (AwdsRouting *awdsRouting)

Static Public Attributes

static const size_t OffsetPeriod = SrcPacketEnd
static const size_t OffsetNumNoMpr = OffsetPeriod + 2
static const size_t OffsetNumMpr = OffsetNumNoMpr + 1
static const size_t OffsetLNeigh = OffsetNumMpr + 1


Detailed Description

class for accessing fields of a beacon packet.
The documentation for this class was generated from the following files:
Generated on Tue Dec 11 17:58:48 2007 for AWDS by  doxygen 1.5.3-20071008