SimCenterCommon
Common functionality used within different SimCenter projects
DakotaInputSampling Class Reference

#include <DakotaInputSampling.h>

Inheritance diagram for DakotaInputSampling:
Collaboration diagram for DakotaInputSampling:

Public Slots

void clear (void)
 
void onTextChanged (const QString &arg1)
 

Public Member Functions

 DakotaInputSampling (RandomVariablesContainer *, QWidget *parent=0)
 
 ~DakotaInputSampling ()
 
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 outputAppDataToJSON (QJsonObject &rvObject)
 outputAppDataToJSON method to write the application data to json object. More...
 
bool inputAppDataFromJSON (QJsonObject &rvObject)
 inputFromJSON method to read applications specific data from a JSON object More...
 
int processResults (QString &filenameResults, QString &filenameTab)
 
UQ_ResultsgetResults (void)
 
RandomVariablesContainergetParameters ()
 
int getMaxNumParallelTasks (void)
 
- Public Member Functions inherited from UQ_Engine
 UQ_Engine (QWidget *parent=0)
 
virtual ~UQ_Engine ()
 
virtual QString getProcessingScript ()
 
- 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 ()
 

Public Attributes

QVBoxLayout * mLayout
 

Additional Inherited Members

- 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...
 
- 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 55 of file DakotaInputSampling.h.

Constructor & Destructor Documentation

DakotaInputSampling::DakotaInputSampling ( RandomVariablesContainer theRVs,
QWidget *  parent = 0 
)
explicit

Definition at line 67 of file DakotaInputSampling.cpp.

DakotaInputSampling::~DakotaInputSampling ( )

Definition at line 162 of file DakotaInputSampling.cpp.

Member Function Documentation

void DakotaInputSampling::clear ( void  )
slot

Definition at line 172 of file DakotaInputSampling.cpp.

int DakotaInputSampling::getMaxNumParallelTasks ( void  )
virtual

Implements UQ_Engine.

Definition at line 168 of file DakotaInputSampling.cpp.

RandomVariablesContainer * DakotaInputSampling::getParameters ( void  )
virtual

Implements UQ_Engine.

Definition at line 284 of file DakotaInputSampling.cpp.

UQ_Results * DakotaInputSampling::getResults ( void  )
virtual

Implements UQ_Engine.

Definition at line 279 of file DakotaInputSampling.cpp.

bool DakotaInputSampling::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 239 of file DakotaInputSampling.cpp.

bool DakotaInputSampling::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 194 of file DakotaInputSampling.cpp.

void DakotaInputSampling::onTextChanged ( const QString &  arg1)
slot

Definition at line 138 of file DakotaInputSampling.cpp.

bool DakotaInputSampling::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 224 of file DakotaInputSampling.cpp.

bool DakotaInputSampling::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 179 of file DakotaInputSampling.cpp.

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

Implements UQ_Engine.

Definition at line 271 of file DakotaInputSampling.cpp.

Member Data Documentation

QVBoxLayout* DakotaInputSampling::mLayout

Definition at line 74 of file DakotaInputSampling.h.


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