45 .SetGroupName (
"Core")
64 std::pair<EventMapI,bool>
result;
NS_ASSERT() and NS_ASSERT_MSG() macro definitions.
a std::map event scheduler
virtual Scheduler::Event PeekNext(void) const
Get a pointer to the next event.
MapScheduler()
Constructor.
virtual Scheduler::Event RemoveNext(void)
Remove the earliest event from the event list.
virtual bool IsEmpty(void) const
Test if the schedule is empty.
std::map< Scheduler::EventKey, EventImpl * >::iterator EventMapI
EventMap iterator.
std::map< Scheduler::EventKey, EventImpl * >::const_iterator EventMapCI
EventMap const iterator.
static TypeId GetTypeId(void)
Register this type.
virtual ~MapScheduler()
Destructor.
virtual void Remove(const Scheduler::Event &ev)
Remove a specific event from the event list.
virtual void Insert(const Scheduler::Event &ev)
Insert a new Event in the schedule.
EventMap m_list
The event list.
a unique identifier for an interface.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
ns3::EventImpl declarations.
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file,...
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
#define NS_LOG_DEBUG(msg)
Use NS_LOG to output a message of level LOG_DEBUG.
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by ",...
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
ns3::MapScheduler declaration.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
EventKey key
Key for sorting and ordering Events.
EventImpl * impl
Pointer to the event implementation.
uint64_t m_ts
Event time stamp.
uint32_t m_uid
Event unique id.