SST  6.0.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 ()
 Returns true if the queue is empty.
 
int size ()
 Returns the number of activities in the queue.
 
void insert (Activity *activity)
 Insert a new activity into the queue.
 
Activitypop ()
 Remove and return the next activity.
 
Activityfront ()
 Returns the next activity.
 

Detailed Description

Always unitialized queue.

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

Constructor & Destructor Documentation

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: