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

#include "SubprocessHandler.h"

Inheritance diagram for SubprocessHandler:
BusinessLogicHandler

Public Member Functions

 SubprocessHandler (const std::string &serverName, int sessionID, int serviceID)
 
 ~SubprocessHandler ()
 
void RunSubprocess ()
 
bool startSubprocess ()
 
void stopSubprocess ()
 
bool isSubprocessHealthy ()
 
void restartSubprocess ()
 
 SubprocessHandler (SubprocessManager *_manager)
 
 ~SubprocessHandler ()
 
bool ensureSubprocessRunning (const std::string &_serverName)
 
void shutdownSubprocess (void)
 
- Public Member Functions inherited from BusinessLogicHandler
void setUIComponent (ot::components::UiComponent *ui)
 
void setModelComponent (ot::components::ModelComponent *model)
 
virtual ~BusinessLogicHandler ()
 

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
 

Constructor & Destructor Documentation

◆ SubprocessHandler() [1/2]

SubprocessHandler::SubprocessHandler ( const std::string & serverName,
int sessionID,
int serviceID )

◆ ~SubprocessHandler() [1/2]

SubprocessHandler::~SubprocessHandler ( )

◆ SubprocessHandler() [2/2]

SubprocessHandler::SubprocessHandler ( SubprocessManager * _manager)

◆ ~SubprocessHandler() [2/2]

SubprocessHandler::~SubprocessHandler ( )

Member Function Documentation

◆ ensureSubprocessRunning()

bool SubprocessHandler::ensureSubprocessRunning ( const std::string & _serverName)

◆ isSubprocessHealthy()

bool SubprocessHandler::isSubprocessHealthy ( )

◆ restartSubprocess()

void SubprocessHandler::restartSubprocess ( )

◆ RunSubprocess()

void SubprocessHandler::RunSubprocess ( )

◆ shutdownSubprocess()

void SubprocessHandler::shutdownSubprocess ( void )

◆ startSubprocess()

bool SubprocessHandler::startSubprocess ( )

◆ stopSubprocess()

void SubprocessHandler::stopSubprocess ( )

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