SST 12.1.0
Structural Simulation Toolkit
|
Base Class for a queue of Activities. More...
#include <activityQueue.h>
Public Member Functions | |
virtual bool | empty ()=0 |
Returns true if the queue is empty. More... | |
virtual int | size ()=0 |
Returns the number of activities in the queue. More... | |
virtual Activity * | pop ()=0 |
Remove and return the next activity. More... | |
virtual void | insert (Activity *activity)=0 |
Insert a new activity into the queue. More... | |
virtual Activity * | front ()=0 |
Returns the next activity. More... | |
Base Class for a queue of Activities.
|
pure virtual |
Returns true if the queue is empty.
Implemented in SST::IMPL::TimeVortexBinnedMapBase< TS >, SST::IMPL::TimeVortexBinnedMapBase< false >, SST::IMPL::TimeVortexBinnedMapBase< true >, SST::IMPL::TimeVortexPQBase< TS >, SST::IMPL::TimeVortexPQBase< false >, SST::IMPL::TimeVortexPQBase< true >, SST::InitQueue, SST::PollingLinkQueue, SST::SyncQueue, SST::ThreadSyncQueue, SST::UninitializedQueue, and SST::TimeVortex.
Referenced by SST::Link::recv(), and SST::Link::recvUntimedData().
|
pure virtual |
Returns the next activity.
Implemented in SST::IMPL::TimeVortexBinnedMapBase< TS >, SST::IMPL::TimeVortexBinnedMapBase< false >, SST::IMPL::TimeVortexBinnedMapBase< true >, SST::IMPL::TimeVortexPQBase< TS >, SST::IMPL::TimeVortexPQBase< false >, SST::IMPL::TimeVortexPQBase< true >, SST::InitQueue, SST::PollingLinkQueue, SST::SyncQueue, SST::ThreadSyncQueue, SST::UninitializedQueue, and SST::TimeVortex.
Referenced by SST::Link::recv(), and SST::Link::recvUntimedData().
|
pure virtual |
Insert a new activity into the queue.
Implemented in SST::IMPL::TimeVortexBinnedMapBase< TS >, SST::IMPL::TimeVortexBinnedMapBase< false >, SST::IMPL::TimeVortexBinnedMapBase< true >, SST::IMPL::TimeVortexPQBase< TS >, SST::IMPL::TimeVortexPQBase< false >, SST::IMPL::TimeVortexPQBase< true >, SST::InitQueue, SST::PollingLinkQueue, SST::SyncQueue, SST::ThreadSyncQueue, SST::UninitializedQueue, and SST::TimeVortex.
Referenced by SST::Link::send_impl(), and SST::Link::sendUntimedData().
|
pure virtual |
Remove and return the next activity.
Implemented in SST::IMPL::TimeVortexBinnedMapBase< TS >, SST::IMPL::TimeVortexBinnedMapBase< false >, SST::IMPL::TimeVortexBinnedMapBase< true >, SST::IMPL::TimeVortexPQBase< TS >, SST::IMPL::TimeVortexPQBase< false >, SST::IMPL::TimeVortexPQBase< true >, SST::InitQueue, SST::PollingLinkQueue, SST::SyncQueue, SST::ThreadSyncQueue, SST::UninitializedQueue, and SST::TimeVortex.
Referenced by SST::Link::recv(), and SST::Link::recvUntimedData().
|
pure virtual |
Returns the number of activities in the queue.
Implemented in SST::IMPL::TimeVortexBinnedMapBase< TS >, SST::IMPL::TimeVortexBinnedMapBase< false >, SST::IMPL::TimeVortexBinnedMapBase< true >, SST::IMPL::TimeVortexPQBase< TS >, SST::IMPL::TimeVortexPQBase< false >, SST::IMPL::TimeVortexPQBase< true >, SST::InitQueue, SST::PollingLinkQueue, SST::SyncQueue, SST::ThreadSyncQueue, SST::UninitializedQueue, and SST::TimeVortex.