SimCenterCommon
Common functionality used within different SimCenter projects
PCEInputWidget Class Reference

#include <PCEInputWidget.h>

Inheritance diagram for PCEInputWidget:
Collaboration diagram for PCEInputWidget:

Public Slots

void trainingDataMethodChanged (int)
 
void samplingDataMethodChanged (int)
 

Public Member Functions

 PCEInputWidget (QWidget *parent=nullptr)
 
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...
 
int getNumberTasks ()
 getNumberTasks method to return number of tasks that can be performed in parallel More...
 
- Public Member Functions inherited from UQ_MethodInputWidget
 UQ_MethodInputWidget (QWidget *parent=0)
 
virtual ~UQ_MethodInputWidget ()
 
- Public Member Functions inherited from SimCenterWidget
 SimCenterWidget (QWidget *parent=0)
 
virtual ~SimCenterWidget ()
 

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...
 

Detailed Description

Definition at line 11 of file PCEInputWidget.h.

Constructor & Destructor Documentation

PCEInputWidget::PCEInputWidget ( QWidget *  parent = nullptr)
explicit

Definition at line 9 of file PCEInputWidget.cpp.

Member Function Documentation

int PCEInputWidget::getNumberTasks ( )
virtual

getNumberTasks method to return number of tasks that can be performed in parallel

Returns
int - number of tasks

Implements UQ_MethodInputWidget.

Definition at line 136 of file PCEInputWidget.cpp.

bool PCEInputWidget::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 106 of file PCEInputWidget.cpp.

bool PCEInputWidget::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 93 of file PCEInputWidget.cpp.

void PCEInputWidget::samplingDataMethodChanged ( int  method)
slot

Definition at line 153 of file PCEInputWidget.cpp.

void PCEInputWidget::trainingDataMethodChanged ( int  method)
slot

Definition at line 141 of file PCEInputWidget.cpp.


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