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