#include <molequeue/queuemanager.h>
Manage a collection of Queue instances.
- Author
- David C. Lonie
◆ server() [1/2]
◆ server() [2/2]
const Server * server |
( |
| ) |
const |
◆ lookupQueue()
Queue * lookupQueue |
( |
const QString & | name | ) |
const |
- Parameters
-
name | String containing the name of the queue of interest. |
- Returns
- The requested Queue, or NULL if none exist with that name.
◆ availableQueues()
static QStringList availableQueues |
( |
| ) |
|
|
static |
- Returns
- A list of available queues types (e.g. PBS/Torque, SGE, etc.)
◆ queueTypeIsValid()
static bool queueTypeIsValid |
( |
const QString & | queueType | ) |
|
|
static |
- Parameters
-
queueType | Type of Queue (SGE, PBS/Torque, Local, etc) |
- Returns
- True if the queue can be instantiated, false otherwise.
◆ addQueue()
virtual Queue * addQueue |
( |
const QString & | queueName, |
|
|
const QString & | queueType, |
|
|
bool | replace = false ) |
|
virtual |
Add a new Queue to the QueueManager. The new queueName must be unique name. The QueueManager maintains ownership of the Queue.
- Parameters
-
queueName | Unique, user-visible name of the new Queue object. |
queueType | The type of the new Queue object, e.g. PBS/Torque, SGE, etc/ |
replace | Defaults to false; if true, replace any existing queues with the same name. The old queue with the same name will be deleted. |
- Returns
- A pointer to the new queue if successful, NULL otherwise.
- See also
- queueTypeIsKnown
-
availableQueueTypes
◆ removeQueue() [1/2]
bool removeQueue |
( |
const Queue * | queue | ) |
|
Remove and delete a queue from the collection.
- Parameters
-
- Returns
- True if queue exists, false otherwise.
◆ removeQueue() [2/2]
bool removeQueue |
( |
const QString & | name | ) |
|
Remove and delete a queue from the collection.
- Parameters
-
queueName | Name of queue to remove. |
- Returns
- True if queue exists, false otherwise.
◆ queues()
QList< Queue * > queues |
( |
| ) |
const |
◆ queueNames()
QStringList queueNames |
( |
| ) |
const |
◆ numQueues()
◆ toQueueList()
QueueListType toQueueList |
( |
| ) |
const |
- Returns
- A QueueListType container describing the queues and their associated programs.
◆ queueConfigDirectory()
QString queueConfigDirectory |
( |
| ) |
const |
- Returns
- The directory path where queue configuration files are stored.
◆ updateRemoteQueues
void updateRemoteQueues |
( |
| ) |
const |
|
slot |
updateRemoteQueues Request that all remote queues update the status of their jobs.
◆ queueAdded
◆ queueRemoved
◆ queueRenamed
void queueRenamed |
( |
const QString & | newName, |
|
|
MoleQueue::Queue * | queue, |
|
|
const QString & | oldName ) |
|
signal |
queueRenamed Emitted when a queue is renamed.
The documentation for this class was generated from the following file: