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

#include "MicroServiceSolver.h"

Inheritance diagram for MicroServiceSolver:
MicroServiceInterfaceFITTDSolver

Public Member Functions

 MicroServiceSolver (std::string solverName, int serviceID, int sessionCount, ClassFactory &classFactory)
 
virtual ~MicroServiceSolver ()
 
void setDataBaseURL (const std::string &dbURL)
 
void setProjectName (const std::string &prjName)
 
void setUIComponent (ot::components::UiComponent *uiComp)
 
void setModelComponent (ot::components::ModelComponent *mdlComp)
 
void setModelStateVersion (const std::string &modelVersion)
 
void setSolverEntityID (ot::UID entityID)
 
void setMeshDataEntityID (ot::UID entityID)
 
void setMeshDataEntityVersionID (ot::UID entityID)
 
void setSolverTopologyBase (const std::string &base)
 
void displayMessage (const std::string &msg)
 
void setProgressInformation (std::string message, bool continuous)
 
void setProgress (int percentage)
 
void closeProgressInformation (void)
 
void RemoveOldResults (void)
 
std::pair< ot::UID, std::string > addResultCurve (const std::string &name, std::vector< double > xdata, std::vector< double > ydataRe, std::vector< double > ydataIm, std::string xlabel, std::string xunit, std::string ylabel, std::string yunit, int colorID, bool visualize)
 
void addPlot1D (std::string name, std::string title, const std::list< std::pair< ot::UID, std::string > > &curves)
 
void addResultFD (std::string name, std::string title, double *xComponent, double *yComponent, double *zComponent, size_t size)
 
void StoreLogDataInResultItem (std::string logData)
 
std::list< ot::UIDgetResultTopologyIDList (void)
 
std::list< ot::UIDgetResultTopologyVersionList (void)
 
std::list< bool > getResultForceVisibleList (void)
 
std::list< ot::UIDgetResultDataIDList (void)
 
std::list< ot::UIDgetResultDataVersionList (void)
 
std::list< ot::UIDgetResultDataParentList (void)
 

Protected Member Functions

EntityBase * LoadEntityFromName (std::string name)
 
SolverSettings LoadSolverSettings (std::string solverName)
 
EntityMeshCartesianData * LoadMeshData (std::string meshName)
 
Signal LoadSignal (std::string signalName)
 
PortSettings LoadPortSetting (std::string portName, std::string solverName)
 
MonitorSettings LoadMonitorSetting (std::string monitorName)
 
void ApplyFrequencyUnit (double &value, std::string &formerUnit)
 
void UpdateModel (void)
 

Protected Attributes

ot::components::UiComponentuiComponent
 
ot::components::ModelComponentmodelComponent
 
ot::UID meshDataEntityID
 
ot::UID meshDataVersion
 
std::string solverName
 

Constructor & Destructor Documentation

◆ MicroServiceSolver()

MicroServiceSolver::MicroServiceSolver ( std::string solverName,
int serviceID,
int sessionCount,
ClassFactory & classFactory )

◆ ~MicroServiceSolver()

MicroServiceSolver::~MicroServiceSolver ( )
virtual

Member Function Documentation

◆ addPlot1D()

void MicroServiceSolver::addPlot1D ( std::string name,
std::string title,
const std::list< std::pair< ot::UID, std::string > > & curves )

◆ addResultCurve()

std::pair< ot::UID, std::string > MicroServiceSolver::addResultCurve ( const std::string & name,
std::vector< double > xdata,
std::vector< double > ydataRe,
std::vector< double > ydataIm,
std::string xlabel,
std::string xunit,
std::string ylabel,
std::string yunit,
int colorID,
bool visualize )

◆ addResultFD()

void MicroServiceSolver::addResultFD ( std::string name,
std::string title,
double * xComponent,
double * yComponent,
double * zComponent,
size_t size )

◆ ApplyFrequencyUnit()

void MicroServiceSolver::ApplyFrequencyUnit ( double & value,
std::string & formerUnit )
protected

◆ closeProgressInformation()

void MicroServiceSolver::closeProgressInformation ( void )

◆ displayMessage()

void MicroServiceSolver::displayMessage ( const std::string & msg)

◆ getResultDataIDList()

std::list< ot::UID > MicroServiceSolver::getResultDataIDList ( void )

◆ getResultDataParentList()

std::list< ot::UID > MicroServiceSolver::getResultDataParentList ( void )

◆ getResultDataVersionList()

std::list< ot::UID > MicroServiceSolver::getResultDataVersionList ( void )

◆ getResultForceVisibleList()

std::list< bool > MicroServiceSolver::getResultForceVisibleList ( void )

◆ getResultTopologyIDList()

std::list< ot::UID > MicroServiceSolver::getResultTopologyIDList ( void )

◆ getResultTopologyVersionList()

std::list< ot::UID > MicroServiceSolver::getResultTopologyVersionList ( void )

◆ LoadEntityFromName()

EntityBase * MicroServiceSolver::LoadEntityFromName ( std::string name)
protected

◆ LoadMeshData()

EntityMeshCartesianData * MicroServiceSolver::LoadMeshData ( std::string meshName)
protected

◆ LoadMonitorSetting()

MonitorSettings MicroServiceSolver::LoadMonitorSetting ( std::string monitorName)
protected

◆ LoadPortSetting()

PortSettings MicroServiceSolver::LoadPortSetting ( std::string portName,
std::string solverName )
protected

◆ LoadSignal()

Signal MicroServiceSolver::LoadSignal ( std::string signalName)
protected

◆ LoadSolverSettings()

SolverSettings MicroServiceSolver::LoadSolverSettings ( std::string solverName)
protected

◆ RemoveOldResults()

void MicroServiceSolver::RemoveOldResults ( void )

◆ setDataBaseURL()

void MicroServiceSolver::setDataBaseURL ( const std::string & dbURL)

◆ setMeshDataEntityID()

void MicroServiceSolver::setMeshDataEntityID ( ot::UID entityID)

◆ setMeshDataEntityVersionID()

void MicroServiceSolver::setMeshDataEntityVersionID ( ot::UID entityID)

◆ setModelComponent()

void MicroServiceSolver::setModelComponent ( ot::components::ModelComponent * mdlComp)

◆ setModelStateVersion()

void MicroServiceSolver::setModelStateVersion ( const std::string & modelVersion)

◆ setProgress()

void MicroServiceSolver::setProgress ( int percentage)

◆ setProgressInformation()

void MicroServiceSolver::setProgressInformation ( std::string message,
bool continuous )

◆ setProjectName()

void MicroServiceSolver::setProjectName ( const std::string & prjName)

◆ setSolverEntityID()

void MicroServiceSolver::setSolverEntityID ( ot::UID entityID)

◆ setSolverTopologyBase()

void MicroServiceSolver::setSolverTopologyBase ( const std::string & base)

◆ setUIComponent()

void MicroServiceSolver::setUIComponent ( ot::components::UiComponent * uiComp)

◆ StoreLogDataInResultItem()

void MicroServiceSolver::StoreLogDataInResultItem ( std::string logData)

◆ UpdateModel()

void MicroServiceSolver::UpdateModel ( void )
protected

Member Data Documentation

◆ meshDataEntityID

ot::UID MicroServiceSolver::meshDataEntityID
protected

◆ meshDataVersion

ot::UID MicroServiceSolver::meshDataVersion
protected

◆ modelComponent

ot::components::ModelComponent* MicroServiceSolver::modelComponent
protected

◆ solverName

std::string MicroServiceSolver::solverName
protected

◆ uiComponent

ot::components::UiComponent* MicroServiceSolver::uiComponent
protected

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