SimCenterCommon
Common functionality used within different SimCenter projects
DakotaEngine Class Reference

#include <DakotaEngine.h>

Inheritance diagram for DakotaEngine:
Collaboration diagram for DakotaEngine:

Public Slots

void engineSelectionChanged (const QString &arg1)
 

Signals

void onUQ_EngineChanged (void)
 
- Signals inherited from SimCenterWidget
void sendFatalMessage (QString message)
 sendFatalMessage signal to be emitted when object needs to shut program down More...
 
void sendErrorMessage (QString message)
 sendErrorMessage signal to be emitted when object needs to communicate error with user More...
 
void sendStatusMessage (QString message)
 sendStatusMessage signal to be emitted when object needs to communicate status with user More...
 

Public Member Functions

 DakotaEngine (RandomVariablesContainer *, UQ_EngineType type, QWidget *parent=0)
 
virtual ~DakotaEngine ()
 
int getMaxNumParallelTasks (void)
 
bool outputToJSON (QJsonObject &jsonObject)
 outputToJSON method to write all objects data neeed to reconstruct object to JsonObject More...
 
bool inputFromJSON (QJsonObject &jsonObject)
 inputFromJSON method to instantiate itself from a JSON object More...
 
bool outputAppDataToJSON (QJsonObject &jsonObject)
 outputAppDataToJSON method to write the application data to json object. More...
 
bool inputAppDataFromJSON (QJsonObject &jsonObject)
 inputFromJSON method to read applications specific data from a JSON object More...
 
int processResults (QString &filenameResults, QString &filenameTab)
 
RandomVariablesContainergetParameters ()
 
UQ_ResultsgetResults (void)
 
QString getProcessingScript ()
 
- Public Member Functions inherited from UQ_Engine
 UQ_Engine (QWidget *parent=0)
 
virtual ~UQ_Engine ()
 
- Public Member Functions inherited from SimCenterAppWidget
 SimCenterAppWidget (QWidget *parent=0)
 
virtual ~SimCenterAppWidget ()
 
virtual bool copyFiles (QString &destDir)
 copyFiles method invoked to copy all files aapplication will need to run directory More...
 
virtual bool supportsLocalRun ()
 returns a boolean indicating whether or not this app can run locally More...
 
- Public Member Functions inherited from SimCenterWidget
 SimCenterWidget (QWidget *parent=0)
 
virtual ~SimCenterWidget ()
 

Additional Inherited Members

- Static Public Member Functions inherited from SimCenterAppWidget
static bool copyPath (QString sourceDir, QString destinationDir, bool overWriteDirectory)
 
static bool copyFile (QString filename, QString destinationDir)
 

Detailed Description

Definition at line 49 of file DakotaEngine.h.

Constructor & Destructor Documentation

DakotaEngine::DakotaEngine ( RandomVariablesContainer theRVs,
UQ_EngineType  type,
QWidget *  parent = 0 
)
explicit

Definition at line 59 of file DakotaEngine.cpp.

DakotaEngine::~DakotaEngine ( )
virtual

Definition at line 113 of file DakotaEngine.cpp.

Member Function Documentation

void DakotaEngine::engineSelectionChanged ( const QString &  arg1)
slot

Definition at line 119 of file DakotaEngine.cpp.

int DakotaEngine::getMaxNumParallelTasks ( void  )
virtual

Implements UQ_Engine.

Definition at line 143 of file DakotaEngine.cpp.

RandomVariablesContainer * DakotaEngine::getParameters ( void  )
virtual

Implements UQ_Engine.

Definition at line 203 of file DakotaEngine.cpp.

QString DakotaEngine::getProcessingScript ( )
virtual

Reimplemented from UQ_Engine.

Definition at line 213 of file DakotaEngine.cpp.

UQ_Results * DakotaEngine::getResults ( void  )
virtual

Implements UQ_Engine.

Definition at line 208 of file DakotaEngine.cpp.

bool DakotaEngine::inputAppDataFromJSON ( QJsonObject &  jsonObject)
virtual

inputFromJSON method to read applications specific data from a JSON object

Parameters
rvObjectthe JSON object contaiing data to instantiate the object
Returns
bool - true for success, otherwise false

Reimplemented from SimCenterAppWidget.

Definition at line 191 of file DakotaEngine.cpp.

bool DakotaEngine::inputFromJSON ( QJsonObject &  jsonObject)
virtual

inputFromJSON method to instantiate itself from a JSON object

Parameters
jsonObjectthe JSON object contaiing data to instantiate the object
Returns
bool - true for success, otherwise false

Reimplemented from SimCenterWidget.

Definition at line 155 of file DakotaEngine.cpp.

void DakotaEngine::onUQ_EngineChanged ( void  )
signal
bool DakotaEngine::outputAppDataToJSON ( QJsonObject &  jsonObject)
virtual

outputAppDataToJSON method to write the application data to json object.

Parameters
rvObjectthe JSON object to be written to
Returns
bool - true for success, otherwise false

Reimplemented from SimCenterAppWidget.

Definition at line 181 of file DakotaEngine.cpp.

bool DakotaEngine::outputToJSON ( QJsonObject &  jsonObject)
virtual

outputToJSON method to write all objects data neeed to reconstruct object to JsonObject

Parameters
rvObjectthe JSON object to be written to
Returns
bool - true for success, otherwise false

Reimplemented from SimCenterWidget.

Definition at line 148 of file DakotaEngine.cpp.

int DakotaEngine::processResults ( QString &  filenameResults,
QString &  filenameTab 
)
virtual

Implements UQ_Engine.

Definition at line 198 of file DakotaEngine.cpp.


The documentation for this class was generated from the following files: