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