A Discrete-Event Network Simulator
API
ns3::PriorityQueueScheduler::EventPriorityQueue Class Reference

Custom priority_queue which supports remove, and returns entries in increasing time order. More...

+ Inheritance diagram for ns3::PriorityQueueScheduler::EventPriorityQueue:
+ Collaboration diagram for ns3::PriorityQueueScheduler::EventPriorityQueue:

Public Member Functions

bool remove (const Scheduler::Event &ev)
 Remove a specific event from the event list. More...
 

Detailed Description

Custom priority_queue which supports remove, and returns entries in increasing time order.

Definition at line 91 of file priority-queue-scheduler.h.

Member Function Documentation

◆ remove()

bool ns3::PriorityQueueScheduler::EventPriorityQueue::remove ( const Scheduler::Event ev)

Remove a specific event from the event list.

This method cannot be invoked if the list is empty.

Parameters
[in]evThe event to remove
Returns
true if the event was found, false otherwise.

Definition at line 92 of file priority-queue-scheduler.cc.

Referenced by ns3::PriorityQueueScheduler::Remove().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: