SST 15.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.
 
int size () override
 Returns the number of activities in the queue.
 
void insert (Activity *activity) override
 Insert a new activity into the queue.
 
Activitypop () override
 Remove and return the next activity.
 
Activityfront () override
 Returns the next activity.
 
void print (Output &out) const override
 Print the state of the TimeVortex.
 
uint64_t getCurrentDepth () const override
 
uint64_t getMaxDepth () const override
 
void dbg_print (Output &out) override
 
void serialize_order (SST::Core::Serialization::serializer &ser) override
 
virtual void fixup_handlers () override
 

Additional Inherited Members

- Protected Member Functions inherited from SST::TimeVortex
void fixup (Activity *act)
 
- 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

◆ dbg_print()

template<bool TS>
void SST::IMPL::TimeVortexPQBase< TS >::dbg_print ( Output & out)
overridevirtual

Reimplemented from SST::TimeVortex.

◆ empty()

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

Returns true if the queue is empty.

Implements SST::TimeVortex.

References empty().

Referenced by empty().

◆ fixup_handlers()

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

Reimplemented from SST::TimeVortex.

◆ front()

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

Returns the next activity.

Implements SST::TimeVortex.

References front().

Referenced by front().

◆ 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.

References insert(), and SST::Activity::setQueueOrder().

Referenced by insert().

◆ pop()

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

Remove and return the next activity.

Implements SST::TimeVortex.

References pop().

Referenced by pop().

◆ 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(), and print().

Referenced by print().

◆ serialize_order()

template<bool TS>
void SST::IMPL::TimeVortexPQBase< TS >::serialize_order ( SST::Core::Serialization::serializer & ser)
overridevirtual

Reimplemented from SST::TimeVortex.

◆ size()

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

Returns the number of activities in the queue.

Implements SST::TimeVortex.

References size().

Referenced by size().


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