SimCenterCommon
Common functionality used within different SimCenter projects
NormalDistribution Class Reference

#include <NormalDistribution.h>

Inheritance diagram for NormalDistribution:
Collaboration diagram for NormalDistribution:

Public Slots

void updateDistributionPlot ()
 

Public Member Functions

 NormalDistribution (QWidget *parent=0)
 
 ~NormalDistribution ()
 
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...
 
QString getAbbreviatedName (void)
 
- Public Member Functions inherited from RandomVariableDistribution
 RandomVariableDistribution (QWidget *parent=0)
 
 ~RandomVariableDistribution ()
 
QLineEdit * createTextEntry (QString text, QHBoxLayout *theLayout, int minL=100, int maxL=100)
 
- 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 47 of file NormalDistribution.h.

Constructor & Destructor Documentation

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

Definition at line 50 of file NormalDistribution.cpp.

NormalDistribution::~NormalDistribution ( )

Definition at line 80 of file NormalDistribution.cpp.

Member Function Documentation

QString NormalDistribution::getAbbreviatedName ( void  )
virtual

Implements RandomVariableDistribution.

Definition at line 128 of file NormalDistribution.cpp.

bool NormalDistribution::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 99 of file NormalDistribution.cpp.

bool NormalDistribution::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 86 of file NormalDistribution.cpp.

void NormalDistribution::updateDistributionPlot ( )
slot

Definition at line 133 of file NormalDistribution.cpp.


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