SimCenterCommon
Common functionality used within different SimCenter projects
UQ_EngineSelection Class Reference

#include <UQ_EngineSelection.h>

Inheritance diagram for UQ_EngineSelection:
Collaboration diagram for UQ_EngineSelection:

Public Slots

void engineSelectionChanged (const QString &arg1)
 
void enginesEngineSelectionChanged (void)
 

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

 UQ_EngineSelection (RandomVariablesContainer *, UQ_EngineType=ForwardReliabilitySensivity, QWidget *parent=0)
 
 ~UQ_EngineSelection ()
 
RandomVariablesContainergetParameters ()
 
UQ_ResultsgetResults ()
 
UQ_EnginegetCurrentEngine ()
 
int getNumParallelTasks (void)
 
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...
 
bool outputToJSON (QJsonObject &rvObject)
 outputToJSON method to write all objects data neeed to reconstruct object to JsonObject More...
 
bool inputFromJSON (QJsonObject &rvObject)
 inputFromJSON method to instantiate itself from a JSON object More...
 
bool copyFiles (QString &destName)
 copyFiles method invoked to copy all files aapplication will need to run directory More...
 
void clear (void)
 
- Public Member Functions inherited from SimCenterAppWidget
 SimCenterAppWidget (QWidget *parent=0)
 
virtual ~SimCenterAppWidget ()
 
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 53 of file UQ_EngineSelection.h.

Constructor & Destructor Documentation

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

Definition at line 65 of file UQ_EngineSelection.cpp.

UQ_EngineSelection::~UQ_EngineSelection ( )

Definition at line 122 of file UQ_EngineSelection.cpp.

Member Function Documentation

void UQ_EngineSelection::clear ( void  )
bool UQ_EngineSelection::copyFiles ( QString &  destDir)
virtual

copyFiles method invoked to copy all files aapplication will need to run directory

Parameters
destDirthe directory to put files in
Returns
bool - true for success, otherwise false

Reimplemented from SimCenterAppWidget.

Definition at line 258 of file UQ_EngineSelection.cpp.

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

Definition at line 166 of file UQ_EngineSelection.cpp.

void UQ_EngineSelection::enginesEngineSelectionChanged ( void  )
slot

Definition at line 192 of file UQ_EngineSelection.cpp.

UQ_Engine * UQ_EngineSelection::getCurrentEngine ( void  )

Definition at line 279 of file UQ_EngineSelection.cpp.

int UQ_EngineSelection::getNumParallelTasks ( void  )

Definition at line 285 of file UQ_EngineSelection.cpp.

RandomVariablesContainer * UQ_EngineSelection::getParameters ( void  )

Definition at line 268 of file UQ_EngineSelection.cpp.

UQ_Results * UQ_EngineSelection::getResults ( void  )

Definition at line 274 of file UQ_EngineSelection.cpp.

bool UQ_EngineSelection::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 210 of file UQ_EngineSelection.cpp.

bool UQ_EngineSelection::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 141 of file UQ_EngineSelection.cpp.

void UQ_EngineSelection::onUQ_EngineChanged ( void  )
signal
bool UQ_EngineSelection::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 198 of file UQ_EngineSelection.cpp.

bool UQ_EngineSelection::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 129 of file UQ_EngineSelection.cpp.


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