62 auto ssRecord =
new SSRecord(macAddress);
72 if ((*iter)->GetMacAddress() == macAddress)
95 for (
auto iter2 = sf.begin(); iter2 != sf.end(); ++iter2)
97 if ((*iter2)->GetConnection()->GetCid() == cid)
109 std::vector<SSRecord*>*
120 if ((*iter)->GetMacAddress() == macAddress)
132 return ssRecord !=
nullptr &&
150 for (
auto iter2 = sf.begin(); iter2 != sf.end(); ++iter2)
152 if ((*iter2)->GetConnection()->GetCid() == cid)
A base class which provides memory management and object aggregation.
static TypeId GetTypeId()
Get the type ID.
uint32_t GetNRegisteredSSs() const
Get number of registered SSs.
bool IsInRecord(const Mac48Address &macAddress) const
Check if address is in record.
SSRecord * GetSSRecord(const Mac48Address &macAddress) const
Get SS record.
std::vector< SSRecord * > * GetSSRecords() const
Get SS records.
SSRecord * CreateSSRecord(const Mac48Address &macAddress)
Create SS record.
bool IsRegistered(const Mac48Address &macAddress) const
Check if address is registered.
uint32_t GetNSSs() const
Get number of SSs.
void DeleteSSRecord(Cid cid)
Delete SS record.
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...
Cid GetBasicCid() const
Get basic CID.
WimaxNetDevice::RangingStatus GetRangingStatus() const
Get ranging status.
std::vector< ServiceFlow * > GetServiceFlows(ServiceFlow::SchedulingType schedulingType) const
Get service flows.
Mac48Address GetMacAddress() const
Get MAC address.
Cid GetPrimaryCid() const
Get primary 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.