#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. More... | |
Cid (uint16_t cid) | |
Constructor. More... | |
~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 More... | |
Friends | |
class | CidFactory |
allow CidFactory class friend access More... | |
bool | operator== (const Cid &lhs, const Cid &rhs) |
equality operator More... | |
enum ns3::Cid::Type |
ns3::Cid::Cid | ( | ) |
Create a cid of unknown type.
Definition at line 30 of file cid.cc.
References CID_UNINITIALIZED, and m_identifier.
ns3::Cid::Cid | ( | uint16_t | cid | ) |
|
static |
Definition at line 75 of file cid.cc.
Referenced by ns3::CidFactory::Allocate(), ns3::WimaxNetDevice::CreateDefaultConnections(), and IsBroadcast().
uint16_t ns3::Cid::GetIdentifier | ( | ) | const |
Definition at line 45 of file cid.cc.
References m_identifier.
Referenced by ns3::BSSchedulerRtps::BSSchedulerBroadcastConnection(), ns3::ServiceFlowManager::GetServiceFlow(), ns3::operator<<(), ns3::BandwidthRequestHeader::Print(), ns3::RngRsp::Serialize(), ns3::GenericMacHeader::Serialize(), ns3::BandwidthRequestHeader::Serialize(), ns3::OfdmDlMapIe::Write(), and ns3::OfdmUlMapIe::Write().
|
static |
Definition at line 87 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 57 of file cid.cc.
References Broadcast().
Referenced by ns3::BaseStationNetDevice::DoReceive(), and ns3::BaseStationNetDevice::GetConnection().
bool ns3::Cid::IsInitialRanging | ( | ) | const |
Definition at line 69 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 51 of file cid.cc.
References m_identifier.
Referenced by ns3::SubscriberStationNetDevice::DoReceive().
bool ns3::Cid::IsPadding | ( | ) | const |
|
static |
Definition at line 81 of file cid.cc.
Referenced by ns3::CidFactory::Allocate(), and IsPadding().
|
friend |
allow CidFactory class friend access
|
private |
identiifier
Definition at line 98 of file cid.h.
Referenced by Cid(), GetIdentifier(), ns3::CidFactory::IsBasic(), IsMulticast(), ns3::CidFactory::IsPrimary(), and ns3::CidFactory::IsTransport().