A Discrete-Event Network Simulator
API
ns3::dot11s::IeBeaconTimingUnit Class Reference

Describes one unit of beacon timing element. More...

#include "ie-dot11s-beacon-timing.h"

+ Inheritance diagram for ns3::dot11s::IeBeaconTimingUnit:
+ Collaboration diagram for ns3::dot11s::IeBeaconTimingUnit:

Public Member Functions

 IeBeaconTimingUnit ()
 
uint8_t GetAid () const
 
uint16_t GetBeaconInterval () const
 
uint16_t GetLastBeacon () const
 
void SetAid (uint8_t aid)
 
void SetBeaconInterval (uint16_t beaconInterval)
 
void SetLastBeacon (uint16_t lastBeacon)
 
- Public Member Functions inherited from ns3::SimpleRefCount< IeBeaconTimingUnit >
 SimpleRefCount ()
 Constructor. More...
 
 SimpleRefCount (const SimpleRefCount &o)
 Copy constructor. More...
 
uint32_t GetReferenceCount (void) const
 Get the reference count of the object. More...
 
SimpleRefCountoperator= (const SimpleRefCount &o)
 Assignment. More...
 
void Ref (void) const
 Increment the reference count. More...
 
void Unref (void) const
 Decrement the reference count. More...
 

Private Attributes

uint8_t m_aid
 Least significant octet of AID: More...
 
uint16_t m_beaconInterval
 Beacon interval of remote mesh point. More...
 
uint16_t m_lastBeacon
 Last time we received a beacon in accordance with a local TSF measured in 256 microseconds unit. More...
 

Friends

bool operator== (const IeBeaconTimingUnit &a, const IeBeaconTimingUnit &b)
 

Additional Inherited Members

- Static Public Member Functions inherited from ns3::SimpleRefCount< IeBeaconTimingUnit >
static void Cleanup (void)
 Noop. More...
 

Detailed Description

Describes one unit of beacon timing element.

Definition at line 34 of file ie-dot11s-beacon-timing.h.

Constructor & Destructor Documentation

ns3::dot11s::IeBeaconTimingUnit::IeBeaconTimingUnit ( )

Definition at line 28 of file ie-dot11s-beacon-timing.cc.

Member Function Documentation

uint8_t ns3::dot11s::IeBeaconTimingUnit::GetAid ( ) const

Definition at line 48 of file ie-dot11s-beacon-timing.cc.

References m_aid.

Referenced by ns3::dot11s::operator==().

+ Here is the caller graph for this function:

uint16_t ns3::dot11s::IeBeaconTimingUnit::GetBeaconInterval ( ) const

Definition at line 58 of file ie-dot11s-beacon-timing.cc.

References m_beaconInterval.

Referenced by ns3::dot11s::operator==().

+ Here is the caller graph for this function:

uint16_t ns3::dot11s::IeBeaconTimingUnit::GetLastBeacon ( ) const

Definition at line 53 of file ie-dot11s-beacon-timing.cc.

References m_lastBeacon.

Referenced by ns3::dot11s::operator==().

+ Here is the caller graph for this function:

void ns3::dot11s::IeBeaconTimingUnit::SetAid ( uint8_t  aid)

Definition at line 33 of file ie-dot11s-beacon-timing.cc.

References m_aid.

Referenced by ns3::dot11s::IeBeaconTiming::AddNeighboursTimingElementUnit(), and ns3::dot11s::IeBeaconTiming::DeserializeInformationField().

+ Here is the caller graph for this function:

void ns3::dot11s::IeBeaconTimingUnit::SetBeaconInterval ( uint16_t  beaconInterval)

Definition at line 43 of file ie-dot11s-beacon-timing.cc.

References m_beaconInterval.

Referenced by ns3::dot11s::IeBeaconTiming::AddNeighboursTimingElementUnit(), and ns3::dot11s::IeBeaconTiming::DeserializeInformationField().

+ Here is the caller graph for this function:

void ns3::dot11s::IeBeaconTimingUnit::SetLastBeacon ( uint16_t  lastBeacon)

Definition at line 38 of file ie-dot11s-beacon-timing.cc.

References m_lastBeacon.

Referenced by ns3::dot11s::IeBeaconTiming::AddNeighboursTimingElementUnit(), and ns3::dot11s::IeBeaconTiming::DeserializeInformationField().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

bool operator== ( const IeBeaconTimingUnit a,
const IeBeaconTimingUnit b 
)
friend

Definition at line 185 of file ie-dot11s-beacon-timing.cc.

Member Data Documentation

uint8_t ns3::dot11s::IeBeaconTimingUnit::m_aid
private

Least significant octet of AID:

Definition at line 48 of file ie-dot11s-beacon-timing.h.

Referenced by GetAid(), and SetAid().

uint16_t ns3::dot11s::IeBeaconTimingUnit::m_beaconInterval
private

Beacon interval of remote mesh point.

Definition at line 52 of file ie-dot11s-beacon-timing.h.

Referenced by GetBeaconInterval(), and SetBeaconInterval().

uint16_t ns3::dot11s::IeBeaconTimingUnit::m_lastBeacon
private

Last time we received a beacon in accordance with a local TSF measured in 256 microseconds unit.

Definition at line 50 of file ie-dot11s-beacon-timing.h.

Referenced by GetLastBeacon(), and SetLastBeacon().


The documentation for this class was generated from the following files: