SST  15.1.0
StructuralSimulationToolkit
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.
 
uint64_t getCurrentDepth () const override
 
uint64_t getMaxDepth () const override
 
void dbg_print (Output &out) const override
 
void getContents (std::vector< Activity *> &activities) const override
 Get a copy of the contents of the TimeVortex. More...
 
- Public Member Functions inherited from SST::TimeVortex
virtual void print (Output &out) const
 Print the state of the TimeVortex.
 
virtual void serialize_order (SST::Core::Serialization::serializer &ser)
 

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

◆ getContents()

template<bool TS>
void SST::IMPL::TimeVortexPQBase< TS >::getContents ( std::vector< Activity *> &  activities) const
overridevirtual

Get a copy of the contents of the TimeVortex.

Returns
vector with a copy of the contents

Implements SST::TimeVortex.


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