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

Primary Event Queue. More...

#include <timeVortexPQ.h>

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

Public Member Functions

 TimeVortexPQBase (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::TimeVortexPQBase< TS >

Primary Event Queue.

Member Function Documentation

◆ empty()

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

Returns true if the queue is empty.

Implements SST::TimeVortex.

◆ front()

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

Returns the next activity.

Implements SST::TimeVortex.

◆ getCurrentDepth()

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

Implements SST::TimeVortex.

◆ getMaxDepth()

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

Reimplemented from SST::TimeVortex.

◆ insert()

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

Insert a new activity into the queue.

Implements SST::TimeVortex.

◆ pop()

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

Remove and return the next activity.

Implements SST::TimeVortex.

◆ print()

template<bool TS>
void SST::IMPL::TimeVortexPQBase< 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::TimeVortexPQBase< TS >::size ( )
overridevirtual

Returns the number of activities in the queue.

Implements SST::TimeVortex.

References SST::IMPL::TimeVortexPQBase< TS >::size().

Referenced by SST::IMPL::TimeVortexPQBase< TS >::size().


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