A base class which provides memory management and object aggregation.
static TypeId GetTypeId(void)
Register this type.
virtual void Remove(const Event &ev)=0
Remove a specific event from the event list.
virtual bool IsEmpty(void) const =0
Test if the schedule is empty.
virtual Event PeekNext(void) const =0
Get a pointer to the next event.
virtual ~Scheduler()=0
Destructor.
virtual void Insert(const Event &ev)=0
Insert a new Event in the schedule.
virtual Event RemoveNext(void)=0
Remove the earliest event from the event list.
a unique identifier for an interface.
bool operator>(const Length &left, const Length &right)
Check if left has a value greater than right.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
bool operator==(const EventId &a, const EventId &b)
bool operator<(const EventId &a, const EventId &b)
bool operator!=(Callback< R, T1, T2, T3, T4, T5, T6, T7, T8, T9 > a, Callback< R, T1, T2, T3, T4, T5, T6, T7, T8, T9 > b)
Inequality test.
ns3::Object class declaration, which is the root of the Object hierarchy and Aggregation.
EventKey key
Key for sorting and ordering Events.
EventImpl * impl
Pointer to the event implementation.
Structure for sorting and comparing Events.
uint32_t m_context
Event context.
uint64_t m_ts
Event time stamp.
uint32_t m_uid
Event unique id.