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)
A base class which provides memory management and object aggregation.
static TypeId GetTypeId(void)
Get the type ID.
bool IsInRecord(const Mac48Address &macAddress) const
Check if address is in record.
SSRecord * GetSSRecord(const Mac48Address &macAddress) const
Get SS record.
uint32_t GetNSSs(void) const
Get number of SSs.
std::vector< SSRecord * > * GetSSRecords(void) const
Get SS records.
SSRecord * CreateSSRecord(const Mac48Address &macAddress)
Create SS record.
bool IsRegistered(const Mac48Address &macAddress) const
Check if address is registered.
void DeleteSSRecord(Cid cid)
Delete SS record.
uint32_t GetNRegisteredSSs(void) const
Get number of registered SSs.
Mac48Address GetMacAddress(Cid cid) const
Get MAC address by CID.
std::vector< SSRecord * > * m_ssRecords
the SS records
This class is used by the base station to store some information related to subscriber station in the...
WimaxNetDevice::RangingStatus GetRangingStatus(void) const
Get ranging status.
std::vector< ServiceFlow * > GetServiceFlows(enum ServiceFlow::SchedulingType schedulingType) const
Get service flows.
Mac48Address GetMacAddress(void) const
Get MAC address.
Cid GetPrimaryCid(void) const
Get primary CID.
Cid GetBasicCid(void) const
Get basic CID.
a unique identifier for an interface.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
#define NS_LOG_DEBUG(msg)
Use NS_LOG to output a message of level LOG_DEBUG.
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
Every class exported by the ns3 library is enclosed in the ns3 namespace.