wrench::WMS Class Referenceabstract

A simulated workflow management system (WMS) More...

#include <WMS.h>

Inheritance diagram for wrench::WMS:
wrench::Service

Public Member Functions

void addWorkflow (Workflow *workflow, double start_time=0)
 Set the workflow to be executed by the WMS. More...
 
WorkflowgetWorkflow ()
 Get the workflow that was assigned to the WMS. More...
 
void addStaticOptimization (std::unique_ptr< StaticOptimization >)
 Add a static optimization to the list of optimizations. Optimizations are executed in order of insertion. More...
 
void addDynamicOptimization (std::unique_ptr< DynamicOptimization >)
 Add a dynamic optimization to the list of optimizations. Optimizations are executed in order of insertion. More...
 

Detailed Description

A simulated workflow management system (WMS)

Member Function Documentation

void wrench::WMS::addDynamicOptimization ( std::unique_ptr< DynamicOptimization >  optimization)

Add a dynamic optimization to the list of optimizations. Optimizations are executed in order of insertion.

Parameters
optimizationa dynamic optimization implementation
void wrench::WMS::addStaticOptimization ( std::unique_ptr< StaticOptimization >  optimization)

Add a static optimization to the list of optimizations. Optimizations are executed in order of insertion.

Parameters
optimizationa static optimization implementation
void wrench::WMS::addWorkflow ( Workflow workflow,
double  start_time = 0 
)

Set the workflow to be executed by the WMS.

Parameters
workflowa workflow to execute
start_timethe simulated time when the WMS should start executed the workflow (0 if not specified)
Exceptions
std::invalid_argument
Workflow * wrench::WMS::getWorkflow ( )

Get the workflow that was assigned to the WMS.

Returns
a workflow

The documentation for this class was generated from the following files:
  • /home/wrench/wrench/include/wrench/wms/WMS.h
  • /home/wrench/wrench/src/wrench/wms/WMS.cpp