|
A Discrete-Event Network Simulator
|
API
|
Go to the documentation of this file.
37 .SetGroupName (
"Wave")
120 NS_LOG_DEBUG (
"the channel access requirement for CCH is not allowed.");
152 NS_LOG_DEBUG (
"the channel access for CCH is not allowed to be released.");
157 NS_LOG_DEBUG (
"the channel access for channel " << channelNumber <<
" has already been released.");
a unique identifier for an interface.
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
bool IsSchAccessAssigned(void) const
virtual ~ChannelScheduler()
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
#define EXTENDED_ALTERNATING
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint8_t extendedAccess
extended access
bool IsContinuousAccessAssigned(uint32_t channelNumber) const
bool immediateAccess
immediate access
std::map< AcIndex, EdcaParameter >::const_iterator EdcaParametersI
EDCA parameters iterator typedef.
virtual void DoInitialize(void)
Initialize() implementation.
EdcaParameters edcaParameters
EDCA parameters.
bool IsChannelAccessAssigned(uint32_t channelNumber) const
virtual bool AssignExtendedAccess(uint32_t channelNumber, uint32_t extends, bool immediate)=0
TypeId SetParent(TypeId tid)
Set the parent TypeId.
#define EXTENDED_CONTINUOUS
A base class which provides memory management and object aggregation.
Ptr< OcbWifiMac > GetMac(uint32_t channelNumber) const
bool IsCchAccessAssigned(void) const
virtual void SetWaveNetDevice(Ptr< WaveNetDevice > device)
uint32_t channelNumber
channel number
bool IsAlternatingAccessAssigned(uint32_t channelNumber) const
virtual void DoDispose(void)
Destructor implementation.
#define NS_LOG_DEBUG(msg)
Use NS_LOG to output a message of level LOG_DEBUG.
virtual bool ReleaseAccess(uint32_t channelNumber)=0
bool StartSch(const SchInfo &schInfo)
virtual enum ChannelAccess GetAssignedAccessType(uint32_t channelNumber) const =0
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by ",...
virtual bool AssignAlternatingAccess(uint32_t channelNumber, bool immediate)=0
bool StopSch(uint32_t channelNumber)
bool IsDefaultCchAccessAssigned(void) const
Ptr< WaveNetDevice > m_device
the device
static TypeId GetTypeId(void)
Get the type ID.
bool IsExtendedAccessAssigned(uint32_t channelNumber) const
static bool IsCch(uint32_t channelNumber)
virtual bool AssignDefaultCchAccess(void)=0
This method will assign default CCH access for CCH.
virtual bool AssignContinuousAccess(uint32_t channelNumber, bool immediate)=0