SimCenterCommon
Common functionality used within different SimCenter projects
SimCenterWidget Class Reference

#include <SimCenterWidget.h>

Inheritance diagram for SimCenterWidget:
Collaboration diagram for SimCenterWidget:

Signals

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

 SimCenterWidget (QWidget *parent=0)
 
virtual ~SimCenterWidget ()
 
virtual bool outputToJSON (QJsonObject &jsonObject)
 outputToJSON method to write all objects data neeed to reconstruct object to JsonObject More...
 
virtual bool inputFromJSON (QJsonObject &jsonObject)
 inputFromJSON method to instantiate itself from a JSON object More...
 

Detailed Description

Definition at line 56 of file SimCenterWidget.h.

Constructor & Destructor Documentation

SimCenterWidget::SimCenterWidget ( QWidget *  parent = 0)
explicit

Definition at line 40 of file SimCenterWidget.cpp.

SimCenterWidget::~SimCenterWidget ( )
virtual

Definition at line 46 of file SimCenterWidget.cpp.

Member Function Documentation

bool SimCenterWidget::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 in ExistingSimCenterEvents, InputWidgetSheetSIM, JsonConfiguredWidget, SimCenterFileInput, UQ_EngineSelection, GeneralInformationWidget, RandomVariablesContainer, SimCenterRVLineEdit, SimCenterComboBox, InputWidgetSampling, DakotaResultsReliability, DakotaResultsSampling, DakotaResultsSensitivity, WallsectionInputWidget, RandomVariable, MDOF_BuildingModel, FEM_Selection, BIM_Selection, ExistingEvent, DakotaInputReliability, DakotaInputSampling, DakotaInputSensitivity, RemoteApplication, OpenSeesBuildingModel, ConnectionInputWidget, UserDefinedEDP, SIM_Selection, FramesectionInputWidget, StandardEarthquakeEDP, InputWidgetExistingEvent, SlabsectionInputWidget, PointInputWidget, DakotaEngine, InputWidgetOpenSeesAnalysis, LocalApplication, ClineInputWidget, ConcreteInputWidget, FloorInputWidget, SteelInputWidget, SteelTubeSectionInputWidget, SteelWSectionInputWidget, LognormalDistribution, WeibullDistribution, RunLocalWidget, LocalReliabilityWidget, BeamInputWidget, BraceInputWidget, ColumnInputWidget, WallInputWidget, BetaDistribution, ConstantDistribution, GumbelDistribution, NormalDistribution, UniformDistribution, EDP_EarthquakeSelection, EDP_Selection, UserDefinedApplication, GlobalReliabilityWidget, ContinuousDesignDistribution, DakotaResults, LatinHypercubeInputWidget, MonteCarloInputWidget, UQ_Results, PCEInputWidget, GaussianProcessInputWidget, ImportanceSamplingInputWidget, and UserDef.

Definition at line 60 of file SimCenterWidget.cpp.

bool SimCenterWidget::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 in ExistingSimCenterEvents, JsonConfiguredWidget, InputWidgetSheetSIM, SimCenterFileInput, SimCenterRVLineEdit, SimCenterComboBox, RandomVariablesContainer, UQ_EngineSelection, GeneralInformationWidget, InputWidgetSampling, DakotaResultsReliability, DakotaResultsSampling, DakotaResultsSensitivity, RandomVariable, MDOF_BuildingModel, WallsectionInputWidget, FEM_Selection, BIM_Selection, ExistingEvent, DakotaInputReliability, DakotaInputSampling, DakotaInputSensitivity, RemoteApplication, OpenSeesBuildingModel, UserDefinedEDP, SIM_Selection, ConnectionInputWidget, StandardEarthquakeEDP, InputWidgetExistingEvent, FramesectionInputWidget, SlabsectionInputWidget, PointInputWidget, DakotaEngine, InputWidgetOpenSeesAnalysis, LocalApplication, ClineInputWidget, FloorInputWidget, LognormalDistribution, WeibullDistribution, RunLocalWidget, LocalReliabilityWidget, BeamInputWidget, BraceInputWidget, ColumnInputWidget, ConcreteInputWidget, SteelInputWidget, SteelTubeSectionInputWidget, SteelWSectionInputWidget, WallInputWidget, BetaDistribution, ConstantDistribution, GumbelDistribution, NormalDistribution, UniformDistribution, EDP_EarthquakeSelection, EDP_Selection, UserDefinedApplication, GlobalReliabilityWidget, ContinuousDesignDistribution, DakotaResults, LatinHypercubeInputWidget, MonteCarloInputWidget, UQ_Results, PCEInputWidget, GaussianProcessInputWidget, ImportanceSamplingInputWidget, and UserDef.

Definition at line 53 of file SimCenterWidget.cpp.

void SimCenterWidget::sendErrorMessage ( QString  message)
signal

sendErrorMessage signal to be emitted when object needs to communicate error with user

Parameters
messageto be returned
Returns
void
void SimCenterWidget::sendFatalMessage ( QString  message)
signal

sendFatalMessage signal to be emitted when object needs to shut program down

Parameters
messageto be returned
Returns
void
void SimCenterWidget::sendStatusMessage ( QString  message)
signal

sendStatusMessage signal to be emitted when object needs to communicate status with user

Parameters
messageto be passed
Returns
void

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