#include "cid.h"
Public Types | |
enum | Type { BROADCAST = 1 , INITIAL_RANGING , BASIC , PRIMARY , TRANSPORT , MULTICAST , PADDING } |
Type enumeration. More... | |
Public Member Functions | |
Cid () | |
Create a cid of unknown type. | |
Cid (uint16_t cid) | |
Constructor. | |
~Cid () | |
uint16_t | GetIdentifier () const |
bool | IsBroadcast () const |
bool | IsInitialRanging () const |
bool | IsMulticast () const |
bool | IsPadding () const |
Static Public Member Functions | |
static Cid | Broadcast () |
static Cid | InitialRanging () |
static Cid | Padding () |
Private Attributes | |
uint16_t | m_identifier |
identiifier | |
Friends | |
class | CidFactory |
allow CidFactory class friend access | |
bool | operator== (const Cid &lhs, const Cid &rhs) |
equality operator | |
enum ns3::Cid::Type |
ns3::Cid::Cid | ( | ) |
Create a cid of unknown type.
Definition at line 19 of file cid.cc.
References CID_UNINITIALIZED, and m_identifier.
ns3::Cid::Cid | ( | uint16_t | cid | ) |
|
static |
Definition at line 64 of file cid.cc.
Referenced by ns3::CidFactory::Allocate(), ns3::WimaxNetDevice::CreateDefaultConnections(), and IsBroadcast().
uint16_t ns3::Cid::GetIdentifier | ( | ) | const |
Definition at line 34 of file cid.cc.
References m_identifier.
Referenced by ns3::BSSchedulerRtps::BSSchedulerBroadcastConnection(), ns3::ServiceFlowManager::GetServiceFlow(), ns3::operator<<(), ns3::BandwidthRequestHeader::Print(), ns3::BandwidthRequestHeader::Serialize(), ns3::GenericMacHeader::Serialize(), ns3::RngRsp::Serialize(), ns3::OfdmDlMapIe::Write(), and ns3::OfdmUlMapIe::Write().
|
static |
Definition at line 76 of file cid.cc.
Referenced by ns3::BsServiceFlowManager::BsServiceFlowManager(), ns3::CidFactory::Allocate(), ns3::WimaxNetDevice::CreateDefaultConnections(), ns3::BaseStationNetDevice::CreateDlMap(), IsInitialRanging(), ns3::UplinkSchedulerRtps::Schedule(), and ns3::UplinkSchedulerSimple::Schedule().
bool ns3::Cid::IsBroadcast | ( | ) | const |
Definition at line 46 of file cid.cc.
References Broadcast().
Referenced by ns3::BaseStationNetDevice::DoReceive(), and ns3::BaseStationNetDevice::GetConnection().
bool ns3::Cid::IsInitialRanging | ( | ) | const |
Definition at line 58 of file cid.cc.
References InitialRanging().
Referenced by ns3::BaseStationNetDevice::DoReceive(), ns3::BaseStationNetDevice::GetConnection(), and ns3::BSLinkManager::PerformRanging().
bool ns3::Cid::IsMulticast | ( | ) | const |
Definition at line 40 of file cid.cc.
References m_identifier.
Referenced by ns3::SubscriberStationNetDevice::DoReceive().
bool ns3::Cid::IsPadding | ( | ) | const |
|
static |
Definition at line 70 of file cid.cc.
Referenced by ns3::CidFactory::Allocate(), and IsPadding().
|
friend |
allow CidFactory class friend access
|
private |
identiifier
Definition at line 87 of file cid.h.
Referenced by Cid(), Cid(), GetIdentifier(), ns3::CidFactory::IsBasic(), IsMulticast(), ns3::CidFactory::IsPrimary(), and ns3::CidFactory::IsTransport().