38 .SetGroupName(
"Wimax");
70 if ((*iter)->GetMacAddress () == macAddress)
83 for (std::vector<SSRecord*>::iterator iter1 =
m_ssRecords->begin (); iter1 !=
m_ssRecords->end (); ++iter1)
93 for (std::vector<ServiceFlow*>::iterator iter2 = sf.begin (); iter2 != sf.end (); ++iter2)
95 if ((*iter2)->GetConnection ()->GetCid () == cid)
107 std::vector<SSRecord*>*
118 if ((*iter)->GetMacAddress () == macAddress)
136 for (std::vector<SSRecord*>::iterator iter1 =
m_ssRecords->begin (); iter1 !=
m_ssRecords->end (); ++iter1)
147 for (std::vector<ServiceFlow*>::const_iterator iter2 = sf.begin (); iter2 != sf.end (); ++iter2)
149 if ((*iter2)->GetConnection ()->GetCid () == cid)
Mac48Address GetMacAddress(void) const
Get MAC address.
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
Cid GetBasicCid(void) const
Get basic CID.
std::vector< SSRecord * > * m_ssRecords
the SS records
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
WimaxNetDevice::RangingStatus GetRangingStatus(void) const
Get ranging status.
std::vector< SSRecord * > * GetSSRecords(void) const
Get SS records.
uint32_t GetNRegisteredSSs(void) const
Get number of registered SSs.
std::vector< ServiceFlow * > GetServiceFlows(enum ServiceFlow::SchedulingType schedulingType) const
Get service flows.
uint32_t GetNSSs(void) const
Get number of SSs.
SSRecord * GetSSRecord(const Mac48Address &macAddress) const
Get SS record.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
static TypeId GetTypeId(void)
Get the type ID.
Cid GetPrimaryCid(void) const
Get primary CID.
void DeleteSSRecord(Cid cid)
Delete SS record.
#define NS_LOG_DEBUG(msg)
Use NS_LOG to output a message of level LOG_DEBUG.
SSRecord * CreateSSRecord(const Mac48Address &macAddress)
Create SS record.
This class is used by the base station to store some information related to subscriber station in the...
A base class which provides memory management and object aggregation.
a unique identifier for an interface.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
Mac48Address GetMacAddress(Cid cid) const
Get MAC address by CID.
bool IsInRecord(const Mac48Address &macAddress) const
Check if address is in record.
bool IsRegistered(const Mac48Address &macAddress) const
Check if address is registered.