ns-3
|
a std::map event scheduler More...
#include <map-scheduler.h>
Public Member Functions | |
virtual void | Insert (const Event &ev) |
virtual bool | IsEmpty (void) const |
virtual Event | PeekNext (void) const |
virtual Event | RemoveNext (void) |
virtual void | Remove (const Event &ev) |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::MapScheduler. |
a std::map event scheduler
This class implements the an event scheduler using an std::map data structure.
|
static |
This method returns the TypeId associated to ns3::MapScheduler.
No Attributes defined for this type.
No TraceSources defined for this type.
Reimplemented from ns3::Scheduler.
References ns3::TypeId::SetParent().
|
virtual |
ev | event to store in the event list |
Implements ns3::Scheduler.
References NS_ASSERT, and NS_LOG_FUNCTION.
|
virtual |
Implements ns3::Scheduler.
|
virtual |
This method cannot be invoked if the list is empty.
Implements ns3::Scheduler.
References NS_ASSERT, NS_LOG_DEBUG, and NS_LOG_FUNCTION.
|
virtual |
ev | the event to remove |
This methods cannot be invoked if the list is empty.
Implements ns3::Scheduler.
References NS_ASSERT, and NS_LOG_FUNCTION.
|
virtual |
This method cannot be invoked if the list is empty. Remove the next earliest event from the event list.
Implements ns3::Scheduler.
References NS_ASSERT, NS_LOG_DEBUG, and NS_LOG_FUNCTION.