![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <events/scheduler/Map.hpp>


Public Member Functions | |
| Map () | |
| virtual | ~Map () |
Protected Types | |
| typedef wns::container::FastList < EventPtr > | DiscreteTimeContainer |
| typedef std::map < wns::simulator::Time, DiscreteTimeContainer * > | EventContainer |
| typedef wns::SmartPtr< Event > | EventPtr |
Protected Member Functions | |
| virtual void | onNewSimTime (const wns::simulator::Time &) |
| This is called if the sim time will change. | |
NVI implementation | |
| virtual void | doCancelEvent (const IEventPtr &event) |
| virtual void | doDequeueCommand (const ICommandPtr &command) |
| virtual wns::simulator::Time | doGetTime () const |
| virtual bool | doProcessOneEvent () |
| virtual ICommandPtr | doQueueCommand (const Callable &callable) |
| virtual void | doReset () |
| virtual IEventPtr | doSchedule (const Callable &callable, wns::simulator::Time at) |
| virtual IEventPtr | doScheduleNow (const Callable &callable) |
| virtual size_t | doSize () const |
| virtual void | doStart () |
| virtual void | doStop () |
Internal helpers | |
| void | doCancelMapEvent (const EventPtr &event) |
| void | doCancelMapEventCalledFromMapEvent (const EventPtr &event) |
Scheduler observation | |
| virtual void | sendAddEventNotification () |
| virtual void | sendCancelEventNotification () |
| virtual void | sendProcessOneEventNotification () |
| virtual void | sendScheduleDelayNotification () |
| virtual void | sendScheduleNotification () |
| virtual void | sendScheduleNowNotification () |
Protected Attributes | |
| CommandQueue | commandQueue_ |
| EventContainer | events_ |
| EventContainer::iterator | nowItr_ |
| wns::simulator::Time | simTime_ |
| bool | stop_ |
Classes | |
| class | Event |
Definition at line 44 of file Map.hpp.
typedef wns::container::FastList<EventPtr> wns::events::scheduler::Map::DiscreteTimeContainer [protected] |
typedef std::map<wns::simulator::Time, DiscreteTimeContainer*> wns::events::scheduler::Map::EventContainer [protected] |
typedef wns::SmartPtr<Event> wns::events::scheduler::Map::EventPtr [protected] |
| void Map::doCancelEvent | ( | const IEventPtr & | event | ) | [protected, virtual] |
| void Map::doCancelMapEvent | ( | const EventPtr & | event | ) | [protected] |
| void Map::doCancelMapEventCalledFromMapEvent | ( | const EventPtr & | event | ) | [protected] |
| void Map::doDequeueCommand | ( | const ICommandPtr & | command | ) | [protected, virtual] |
| wns::simulator::Time Map::doGetTime | ( | ) | const [protected, virtual] |
| bool Map::doProcessOneEvent | ( | ) | [protected, virtual] |
| wns::events::scheduler::ICommandPtr Map::doQueueCommand | ( | const Callable & | callable | ) | [protected, virtual] |
| void Map::doReset | ( | ) | [protected, virtual] |
| wns::events::scheduler::IEventPtr Map::doSchedule | ( | const Callable & | callable, | |
| wns::simulator::Time | at | |||
| ) | [protected, virtual] |
| wns::events::scheduler::IEventPtr Map::doScheduleNow | ( | const Callable & | callable | ) | [protected, virtual] |
| size_t Map::doSize | ( | ) | const [protected, virtual] |
| void Map::doStart | ( | ) | [protected, virtual] |
| void Map::doStop | ( | ) | [protected, virtual] |
| virtual void wns::events::scheduler::Map::onNewSimTime | ( | const wns::simulator::Time & | ) | [inline, protected, virtual] |
| void Map::sendCancelEventNotification | ( | ) | [protected, virtual] |
| void Map::sendProcessOneEventNotification | ( | ) | [protected, virtual] |
| void Map::sendScheduleDelayNotification | ( | ) | [protected, virtual] |
| void Map::sendScheduleNotification | ( | ) | [protected, virtual] |
| void Map::sendScheduleNowNotification | ( | ) | [protected, virtual] |
EventContainer wns::events::scheduler::Map::events_ [protected] |
EventContainer::iterator wns::events::scheduler::Map::nowItr_ [protected] |
bool wns::events::scheduler::Map::stop_ [protected] |
1.5.5