18 #ifndef CHANNEL_SCHEDULER_H 19 #define CHANNEL_SCHEDULER_H 49 #define EXTENDED_ALTERNATING 0x00 50 #define EXTENDED_CONTINUOUS 0xff 194 bool StopSch (uint32_t channelNumber);
222 virtual bool AssignExtendedAccess (uint32_t channelNumber, uint32_t extends,
bool immediate) = 0;
uint8_t extendedAccess
extended access
bool IsSchAccessAssigned(void) const
EdcaParameters edcaParameters
EDCA parameters.
virtual bool AssignExtendedAccess(uint32_t channelNumber, uint32_t extends, bool immediate)=0
bool StartSch(const SchInfo &schInfo)
bool immediateAccess
immediate access
bool IsDefaultCchAccessAssigned(void) const
virtual bool AssignDefaultCchAccess(void)=0
This method will assign default CCH access for CCH.
virtual void DoInitialize(void)
Initialize() implementation.
virtual void SetWaveNetDevice(Ptr< WaveNetDevice > device)
SchInfo(uint32_t channel, bool immediate, uint32_t channelAccess)
Initializer.
SchInfo(uint32_t channel, bool immediate, uint32_t channelAccess, EdcaParameters edca)
Initializer.
bool IsExtendedAccessAssigned(uint32_t channelNumber) const
#define EXTENDED_ALTERNATING
bool IsContinuousAccessAssigned(uint32_t channelNumber) const
virtual bool AssignAlternatingAccess(uint32_t channelNumber, bool immediate)=0
std::map< AcIndex, EdcaParameter >::const_iterator EdcaParametersI
EDCA parameters iterator typedef.
virtual enum ChannelAccess GetAssignedAccessType(uint32_t channelNumber) const =0
Every class exported by the ns3 library is enclosed in the ns3 namespace.
std::map< AcIndex, EdcaParameter > EdcaParameters
EDCA parameters typedef.
bool IsAlternatingAccessAssigned(uint32_t channelNumber) const
bool IsCchAccessAssigned(void) const
uint32_t channelNumber
channel number
virtual bool AssignContinuousAccess(uint32_t channelNumber, bool immediate)=0
ChannelAccess
ChannelAccess enumeration.
bool StopSch(uint32_t channelNumber)
static TypeId GetTypeId(void)
Get the type ID.
bool IsChannelAccessAssigned(uint32_t channelNumber) const
Ptr< WaveNetDevice > m_device
the device
virtual ~ChannelScheduler()
A base class which provides memory management and object aggregation.
a unique identifier for an interface.
This class will assign channel access for requests from higher layers.
virtual bool ReleaseAccess(uint32_t channelNumber)=0