src/simulator/scheduler-list.h
changeset 53 ae406f4957d5
parent 46 627df4c75852
child 54 f860e6f94787
equal deleted inserted replaced
52:72a52d59ee9f 53:ae406f4957d5
    36  public:
    36  public:
    37 	SchedulerList ();
    37 	SchedulerList ();
    38 	virtual ~SchedulerList ();
    38 	virtual ~SchedulerList ();
    39 
    39 
    40  private:
    40  private:
    41 	virtual EventId real_insert (EventImpl *event, EventKey key);
    41 	virtual EventId realInsert (EventImpl *event, EventKey key);
    42 	virtual bool real_is_empty (void) const;
    42 	virtual bool realIsEmpty (void) const;
    43 	virtual EventImpl *real_peek_next (void) const;
    43 	virtual EventImpl *realPeekNext (void) const;
    44 	virtual Scheduler::EventKey real_peek_next_key (void) const;
    44 	virtual Scheduler::EventKey realPeekNextKey (void) const;
    45 	virtual void real_remove_next (void);
    45 	virtual void realRemoveNext (void);
    46 	virtual EventImpl *real_remove (EventId ev, Scheduler::EventKey *key);
    46 	virtual EventImpl *realRemove (EventId ev, Scheduler::EventKey *key);
    47 	virtual bool real_is_valid (EventId id);
    47 	virtual bool realIsValid (EventId id);
    48 
    48 
    49 	typedef std::list<std::pair<EventImpl*, EventKey> > Events;
    49 	typedef std::list<std::pair<EventImpl*, EventKey> > Events;
    50 	typedef std::list<std::pair<EventImpl*, EventKey> >::iterator EventsI;
    50 	typedef std::list<std::pair<EventImpl*, EventKey> >::iterator EventsI;
    51 	EventId get_event_id (Scheduler::EventKey key, EventsI i);
    51 	EventId getEventId (Scheduler::EventKey key, EventsI i);
    52 	EventsI get_iterator (EventId id);
    52 	EventsI getIterator (EventId id);
    53 	Events m_events;
    53 	Events m_events;
    54 };
    54 };
    55 
    55 
    56 }; // namespace ns3
    56 }; // namespace ns3
    57 
    57