OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
SimulationResults Class Reference

#include "SimulationResults.h"

Inheritance diagram for SimulationResults:
BusinessLogicHandler

Signals

void callback (std::string messageType, std::string message)
 

Public Member Functions

void addToResultMap (const std::string &key, double value)
 
std::map< std::string, std::vector< double > > & getResultMap ()
 
void setVecAmount (int amount)
 
int getVecAmount ()
 
void triggerCallback (std::string messageType, std::string message)
 
void addToResultMap (const std::string &key, double value)
 
std::map< std::string, std::vector< double > > & getResultMap ()
 
void addResults (const QJsonValue &_result)
 
void setSolverInformation (std::string solverName, std::string simulationType, std::string circuitName)
 
void displayMessage (std::string _message)
 
void displayError (std::string _message)
 
void handleResults (const QJsonValue &_result)
 
void handleUnknownMessageType (std::string _message)
 
void setVecAmount (int amount)
 
int getVecAmount ()
 
- Public Member Functions inherited from BusinessLogicHandler
void setUIComponent (ot::components::UiComponent *ui)
 
void setModelComponent (ot::components::ModelComponent *model)
 
virtual ~BusinessLogicHandler ()
 

Static Public Member Functions

static SimulationResultsgetInstance ()
 
static SimulationResultsgetInstance ()
 

Additional Inherited Members

- Protected Member Functions inherited from BusinessLogicHandler
virtual void UIComponentWasSet ()
 
virtual void ModelComponentWasSet ()
 
void CheckEssentials ()
 
std::string CreateNewUniqueTopologyName (const std::string &folderName, const std::string &fileName)
 
std::string CreateNewUniqueTopologyNamePlainPossible (const std::string &folderName, const std::string &fileName, std::list< std::string > &additionallyTakenNames)
 
std::vector< std::string > CreateNewUniqueTopologyName (const std::string &FolderName, const std::string &fileName, uint64_t numberOfFiles)
 
- Protected Attributes inherited from BusinessLogicHandler
ot::components::UiComponent_uiComponent = nullptr
 
ot::components::ModelComponent_modelComponent = nullptr
 

Member Function Documentation

◆ addResults()

void SimulationResults::addResults ( const QJsonValue & _result)

◆ addToResultMap() [1/2]

void SimulationResults::addToResultMap ( const std::string & key,
double value )

◆ addToResultMap() [2/2]

void SimulationResults::addToResultMap ( const std::string & key,
double value )

◆ callback

void SimulationResults::callback ( std::string messageType,
std::string message )
signal

◆ displayError()

void SimulationResults::displayError ( std::string _message)

◆ displayMessage()

void SimulationResults::displayMessage ( std::string _message)

◆ getInstance() [1/2]

SimulationResults * SimulationResults::getInstance ( )
static

◆ getInstance() [2/2]

static SimulationResults * SimulationResults::getInstance ( )
static

◆ getResultMap() [1/2]

std::map< std::string, std::vector< double > > & SimulationResults::getResultMap ( )
inline

◆ getResultMap() [2/2]

std::map< std::string, std::vector< double > > & SimulationResults::getResultMap ( )
inline

◆ getVecAmount() [1/2]

int SimulationResults::getVecAmount ( )
inline

◆ getVecAmount() [2/2]

int SimulationResults::getVecAmount ( )
inline

◆ handleResults()

void SimulationResults::handleResults ( const QJsonValue & _result)

◆ handleUnknownMessageType()

void SimulationResults::handleUnknownMessageType ( std::string _message)

◆ setSolverInformation()

void SimulationResults::setSolverInformation ( std::string solverName,
std::string simulationType,
std::string circuitName )

◆ setVecAmount() [1/2]

void SimulationResults::setVecAmount ( int amount)
inline

◆ setVecAmount() [2/2]

void SimulationResults::setVecAmount ( int amount)
inline

◆ triggerCallback()

void SimulationResults::triggerCallback ( std::string messageType,
std::string message )

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