FifoQueue Class ReferenceΒΆ
|
Sample Model
|
FifoQueue Class Reference
#include <FifoQueue.h>
Public Member Functions | |
| int | getLength () const |
| virtual void | requestJob () |
Protected Member Functions | |
| virtual void | handleMessage (cMessage *msg) override |
Detailed Description
Holds the jobs in arrival order until the Server asks for the next one.
See the NED documentation for parameters and statistics.
Member Function Documentation
◆ getLength()
|
inline |
The number of jobs waiting.
◆ requestJob()
|
virtual |
Sends the first job to the server; the server calls it when it becomes idle.
◆ handleMessage()
|
overrideprotectedvirtual |
Sends the job to the server if it is idle, and queues it otherwise.
Generated by