#include "SubprocessHandler.h"
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) |
| If no subprocess is already running, it starts a subprocess and starts a thread for health checks. | |
| 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 |
| SubprocessHandler::SubprocessHandler | ( | const std::string & | serverName, |
| int | sessionID, | ||
| int | serviceID ) |
| SubprocessHandler::~SubprocessHandler | ( | ) |
| SubprocessHandler::SubprocessHandler | ( | SubprocessManager * | _manager | ) |
| SubprocessHandler::~SubprocessHandler | ( | ) |
| bool SubprocessHandler::ensureSubprocessRunning | ( | const std::string & | _serverName | ) |
If no subprocess is already running, it starts a subprocess and starts a thread for health checks.
| bool SubprocessHandler::isSubprocessHealthy | ( | ) |
| void SubprocessHandler::restartSubprocess | ( | ) |
| void SubprocessHandler::RunSubprocess | ( | ) |
| void SubprocessHandler::shutdownSubprocess | ( | void | ) |
| bool SubprocessHandler::startSubprocess | ( | ) |
| void SubprocessHandler::stopSubprocess | ( | ) |