115 NS_LOG_DEBUG (
"the channel access requirement for CCH is not allowed.");
147 NS_LOG_DEBUG (
"the channel access for CCH is not allowed to be released.");
152 NS_LOG_DEBUG (
"the channel access for channel " << channelNumber <<
" has already been released.");
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by "...
void ConfigureEdca(uint32_t cwmin, uint32_t cwmax, uint32_t aifsn, enum AcIndex ac)
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
virtual bool AssignExtendedAccess(uint32_t channelNumber, uint32_t extends, bool immediate)=0
bool StartSch(const SchInfo &schInfo)
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
EdcaParameterSet edcaParameterSet
virtual bool AssignDefaultCchAccess(void)=0
bool IsDefaultCchAccessAssigned(void) const
virtual void DoInitialize(void)
Initialize() implementation.
virtual void SetWaveNetDevice(Ptr< WaveNetDevice > device)
bool IsSchAccessAssigned(void) const
#define EXTENDED_ALTERNATING
bool IsAlternatingAccessAssigned(uint32_t channelNumber) const
#define EXTENDED_CONTINUOUS
virtual bool AssignAlternatingAccess(uint32_t channelNumber, bool immediate)=0
virtual enum ChannelAccess GetAssignedAccessType(uint32_t channelNumber) const =0
static bool IsCch(uint32_t channelNumber)
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Ptr< OcbWifiMac > GetMac(uint32_t channelNumber) const
virtual bool AssignContinuousAccess(uint32_t channelNumber, bool immediate)=0
std::map< AcIndex, EdcaParameter >::const_iterator EdcaParameterSetI
bool IsContinuousAccessAssigned(uint32_t channelNumber) const
bool StopSch(uint32_t channelNumber)
static TypeId GetTypeId(void)
Ptr< WaveNetDevice > m_device
virtual ~ChannelScheduler()
bool IsCchAccessAssigned(void) const
#define NS_LOG_DEBUG(msg)
Use NS_LOG to output a message of level LOG_DEBUG.
bool IsExtendedAccessAssigned(uint32_t channelNumber) const
bool IsChannelAccessAssigned(uint32_t channelNumber) const
A base class which provides memory management and object aggregation.
a unique identifier for an interface.
TypeId SetParent(TypeId tid)
virtual bool ReleaseAccess(uint32_t channelNumber)=0