SST 15.0
Structural Simulation Toolkit
|
Always uninitialized queue. More...
#include <uninitializedQueue.h>
Public Member Functions | |
UninitializedQueue (const std::string &message) | |
Create a new Queue. | |
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. | |
Activity * | pop () override |
Remove and return the next activity. | |
Activity * | front () override |
Returns the next activity. | |
Always uninitialized queue.
Used for debugging, and preventing accidentally sending messages into an incorrect queue
|
explicit |
Create a new Queue.
message | - Message to print when something attempts to use this Queue |
References UninitializedQueue().
Referenced by UninitializedQueue().
|
overridevirtual |
Returns true if the queue is empty.
Implements SST::ActivityQueue.
|
overridevirtual |
Returns the next activity.
Implements SST::ActivityQueue.
|
overridevirtual |
Insert a new activity into the queue.
Implements SST::ActivityQueue.
|
overridevirtual |
Remove and return the next activity.
Implements SST::ActivityQueue.
|
overridevirtual |
Returns the number of activities in the queue.
Implements SST::ActivityQueue.