ns3::SupportedRates Class Reference

#include <supported-rates.h>

List of all members.

Public Member Functions

 SupportedRates ()
void AddSupportedRate (uint32_t bs)
void SetBasicRate (uint32_t bs)
bool IsSupportedRate (uint32_t bs) const
bool IsBasicRate (uint32_t bs) const
uint8_t GetNRates (void) const
uint32_t GetRate (uint8_t i) const
uint32_t GetSerializedSize (void) const
Buffer::Iterator Serialize (Buffer::Iterator start) const
Buffer::Iterator Deserialize (Buffer::Iterator start)

Private Attributes

uint8_t m_nRates
uint8_t m_rates [8]

Detailed Description

Definition at line 29 of file supported-rates.h.


Constructor & Destructor Documentation

ns3::SupportedRates::SupportedRates (  ) 

Definition at line 31 of file supported-rates.cc.


Member Function Documentation

void ns3::SupportedRates::AddSupportedRate ( uint32_t  bs  ) 
Buffer::Iterator ns3::SupportedRates::Deserialize ( Buffer::Iterator  start  ) 
uint8_t ns3::SupportedRates::GetNRates ( void   )  const

Definition at line 95 of file supported-rates.cc.

References m_nRates.

uint32_t ns3::SupportedRates::GetRate ( uint8_t  i  )  const

Definition at line 100 of file supported-rates.cc.

References m_rates.

uint32_t ns3::SupportedRates::GetSerializedSize ( void   )  const

Definition at line 105 of file supported-rates.cc.

References m_nRates.

bool ns3::SupportedRates::IsBasicRate ( uint32_t  bs  )  const

Definition at line 68 of file supported-rates.cc.

References m_nRates, and m_rates.

Referenced by ns3::NqstaWifiMac::Receive().

bool ns3::SupportedRates::IsSupportedRate ( uint32_t  bs  )  const

Definition at line 81 of file supported-rates.cc.

References m_nRates, and m_rates.

Referenced by AddSupportedRate(), ns3::NqstaWifiMac::Receive(), and ns3::NqapWifiMac::Receive().

Buffer::Iterator ns3::SupportedRates::Serialize ( Buffer::Iterator  start  )  const
void ns3::SupportedRates::SetBasicRate ( uint32_t  bs  ) 

Definition at line 48 of file supported-rates.cc.

References AddSupportedRate(), m_nRates, m_rates, and NS_LOG_DEBUG.

Referenced by ns3::NqapWifiMac::GetSupportedRates().


Member Data Documentation

uint8_t ns3::SupportedRates::m_nRates [private]
uint8_t ns3::SupportedRates::m_rates[8] [private]

The documentation for this class was generated from the following files:
Generated on Thu Dec 3 14:11:23 2009 for NS-3 by  doxygen 1.6.3