SST 12.1.0
Structural Simulation Toolkit
SST::IMPL::TimeVortexBinnedMapBase< TS > Class Template Reference

Primary Event Queue. More...

#include <timeVortexBinnedMap.h>

Inheritance diagram for SST::IMPL::TimeVortexBinnedMapBase< TS >:
SST::TimeVortex SST::ActivityQueue

Public Member Functions

 TimeVortexBinnedMapBase (Params &params)
 
bool empty () override
 Returns true if the queue is empty. More...
 
int size () override
 Returns the number of activities in the queue. More...
 
void insert (Activity *activity) override
 Insert a new activity into the queue. More...
 
Activitypop () override
 Remove and return the next activity. More...
 
Activityfront () override
 Returns the next activity. More...
 
void print (Output &out) const override
 Print the state of the TimeVortex. More...
 
uint64_t getCurrentDepth () const override
 
uint64_t getMaxDepth () const override
 
virtual bool empty () override=0
 Returns true if the queue is empty. More...
 
virtual int size () override=0
 Returns the number of activities in the queue. More...
 
virtual void insert (Activity *activity) override=0
 Insert a new activity into the queue. More...
 
virtual Activitypop () override=0
 Remove and return the next activity. More...
 
virtual Activityfront () override=0
 Returns the next activity. More...
 
virtual void print (Output &out) const =0
 Print the state of the TimeVortex. More...
 
virtual uint64_t getMaxDepth () const
 
virtual uint64_t getCurrentDepth () const =0
 
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 Activitypop ()=0
 Remove and return the next activity. More...
 
virtual void insert (Activity *activity)=0
 Insert a new activity into the queue. More...
 
virtual Activityfront ()=0
 Returns the next activity. More...
 

Additional Inherited Members

- Protected Attributes inherited from SST::TimeVortex
uint64_t max_depth
 

Detailed Description

template<bool TS>
class SST::IMPL::TimeVortexBinnedMapBase< TS >

Primary Event Queue.

Member Function Documentation

◆ empty()

template<bool TS>
bool SST::IMPL::TimeVortexBinnedMapBase< TS >::empty ( )
overridevirtual

Returns true if the queue is empty.

Implements SST::TimeVortex.

◆ front()

template<bool TS>
Activity * SST::IMPL::TimeVortexBinnedMapBase< TS >::front ( )
overridevirtual

Returns the next activity.

Implements SST::TimeVortex.

◆ getCurrentDepth()

template<bool TS>
uint64_t SST::IMPL::TimeVortexBinnedMapBase< TS >::getCurrentDepth ( ) const
inlineoverridevirtual

Implements SST::TimeVortex.

◆ getMaxDepth()

template<bool TS>
uint64_t SST::IMPL::TimeVortexBinnedMapBase< TS >::getMaxDepth ( ) const
inlineoverridevirtual

Reimplemented from SST::TimeVortex.

◆ insert()

template<bool TS>
void SST::IMPL::TimeVortexBinnedMapBase< TS >::insert ( Activity activity)
overridevirtual

Insert a new activity into the queue.

Implements SST::TimeVortex.

References SST::Activity::getDeliveryTime().

◆ pop()

template<bool TS>
Activity * SST::IMPL::TimeVortexBinnedMapBase< TS >::pop ( )
overridevirtual

Remove and return the next activity.

Implements SST::TimeVortex.

◆ print()

template<bool TS>
void SST::IMPL::TimeVortexBinnedMapBase< TS >::print ( Output out) const
overridevirtual

Print the state of the TimeVortex.

Implements SST::TimeVortex.

References SST::Output::output().

◆ size()

template<bool TS>
int SST::IMPL::TimeVortexBinnedMapBase< TS >::size ( )
overridevirtual

Returns the number of activities in the queue.

Implements SST::TimeVortex.


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