SST  7.2.0
StructuralSimulationToolkit
SST::UninitializedQueue Class Reference

Always unitialized queue. More...

#include <uninitializedQueue.h>

Inheritance diagram for SST::UninitializedQueue:
SST::ActivityQueue

Public Member Functions

 UninitializedQueue (std::string message)
 Create a new Queue. More...
 
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.
 

Detailed Description

Always unitialized queue.

Used for debugging, and preventing accidentally sending messages into an incorrect queue

Constructor & Destructor Documentation

◆ UninitializedQueue()

SST::UninitializedQueue::UninitializedQueue ( std::string  message)

Create a new Queue.

Parameters
message- Message to print when something attempts to use this Queue

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