#include "cid.h"
Public Types | |
enum | Type { BROADCAST = 1, INITIAL_RANGING, BASIC, PRIMARY, TRANSPORT, MULTICAST, PADDING } |
Type enumeration. More... | |
Public Member Functions | |
Cid (void) | |
Create a cid of unknown type. More... | |
Cid (uint16_t cid) | |
Constructor. More... | |
~Cid (void) | |
uint16_t | GetIdentifier (void) const |
bool | IsBroadcast (void) const |
bool | IsInitialRanging (void) const |
bool | IsMulticast (void) const |
bool | IsPadding (void) const |
Static Public Member Functions | |
static Cid | Broadcast (void) |
static Cid | InitialRanging (void) |
static Cid | Padding (void) |
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 | ( | void | ) |
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 72 of file cid.cc.
Referenced by ns3::CidFactory::Allocate(), ns3::WimaxNetDevice::CreateDefaultConnections(), and IsBroadcast().
uint16_t ns3::Cid::GetIdentifier | ( | void | ) | 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::GenericMacHeader::Serialize(), ns3::RngRsp::Serialize(), ns3::BandwidthRequestHeader::Serialize(), ns3::OfdmDlMapIe::Write(), and ns3::OfdmUlMapIe::Write().
|
static |
Definition at line 82 of file cid.cc.
Referenced by ns3::CidFactory::Allocate(), ns3::BsServiceFlowManager::BsServiceFlowManager(), ns3::WimaxNetDevice::CreateDefaultConnections(), ns3::BaseStationNetDevice::CreateDlMap(), IsInitialRanging(), ns3::UplinkSchedulerSimple::Schedule(), and ns3::UplinkSchedulerRtps::Schedule().
bool ns3::Cid::IsBroadcast | ( | void | ) | const |
Definition at line 56 of file cid.cc.
References Broadcast().
Referenced by ns3::BaseStationNetDevice::DoReceive(), and ns3::BaseStationNetDevice::GetConnection().
bool ns3::Cid::IsInitialRanging | ( | void | ) | const |
Definition at line 66 of file cid.cc.
References InitialRanging().
Referenced by ns3::BaseStationNetDevice::DoReceive(), ns3::BaseStationNetDevice::GetConnection(), and ns3::BSLinkManager::PerformRanging().
bool ns3::Cid::IsMulticast | ( | void | ) | const |
Definition at line 51 of file cid.cc.
References m_identifier.
Referenced by ns3::SubscriberStationNetDevice::DoReceive().
bool ns3::Cid::IsPadding | ( | void | ) | const |
|
static |
Definition at line 77 of file cid.cc.
Referenced by ns3::CidFactory::Allocate(), and IsPadding().
|
friend |
allow CidFactory class friend access
|
private |
identiifier
Definition at line 99 of file cid.h.
Referenced by Cid(), GetIdentifier(), ns3::CidFactory::IsBasic(), IsMulticast(), ns3::CidFactory::IsPrimary(), ns3::CidFactory::IsTransport(), and ns3::operator==().