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