PulseEnginePool Class Reference
#include <PulseEnginePool.h>
Inheritance diagram for PulseEnginePool:
Public Member Functions | |
| PulseEnginePool (size_t poolSize=0, const std::string &dataDir="./", Logger *logger=nullptr) | |
| ~PulseEnginePool ()=default | |
| virtual SEPhysiologyEnginePoolEngine * | CreateEngine (int id, eModelType type) |
Public Member Functions inherited from SEPhysiologyEnginePool | |
| SEPhysiologyEnginePool (size_t poolSize=0, const std::string &dataDir="./", Logger *logger=nullptr) | |
| ~SEPhysiologyEnginePool () | |
| const size_t | GetWorkerCount () const |
| bool | RemoveEngine (int id) |
| const std::map< int, SEPhysiologyEnginePoolEngine * > & | GetEngines () const |
| SEPhysiologyEnginePoolEngine * | GetEngine (int id) const |
| SEPhysiologyEnginePoolEngine * | CreateEngine (int id) |
| bool | InitializeEngines () |
| bool | AdvanceModelTime (double time, const TimeUnit &unit) |
| bool | ProcessAction (const SEAction &action) |
| bool | ProcessActions () |
| void | ClearDataRequested () |
| void | PullDataRequested (std::vector< SEDataRequested * > &) |
Public Member Functions inherited from Loggable | |
| Loggable (Logger *logger=nullptr) | |
| Loggable (std::string const &logfile) | |
| virtual | ~Loggable () |
| virtual Logger * | GetLogger () const |
| virtual void | SetLogger (Logger &logger) |
| virtual void | Debug (std::string const &msg) const |
| virtual void | Debug (std::stringstream &msg) const |
| virtual void | Debug (std::ostream &msg) const |
| virtual void | Info (std::string const &msg) const |
| virtual void | Info (std::stringstream &msg) const |
| virtual void | Info (const std::stringstream &msg) const |
| virtual void | Info (std::ostream &msg) const |
| virtual void | Warning (std::string const &msg) const |
| virtual void | Warning (std::stringstream &msg) const |
| virtual void | Warning (std::ostream &msg) const |
| virtual void | Error (std::string const &msg) const |
| virtual void | Error (std::stringstream &msg) const |
| virtual void | Error (std::ostream &msg) const |
| virtual void | Fatal (std::string const &msg) const |
| virtual void | Fatal (std::stringstream &msg) const |
| virtual void | Fatal (std::ostream &msg) const |
Protected Member Functions | |
| virtual void | AllocateEngine (SEPhysiologyEnginePoolEngine &pe) override |
| SEPhysiologyEnginePoolEngine * | CreateEngine (int id) |
Protected Attributes | |
| eModelType | m_creationType |
Protected Attributes inherited from SEPhysiologyEnginePool | |
| bool | m_IsActive |
| SESubstanceManager | m_SubMgr |
| std::map< int, SEPhysiologyEnginePoolEngine * > | m_Engines |
| ThreadPool | m_Pool |
Protected Attributes inherited from Loggable | |
| bool | myLogger |
| Logger * | m_Logger |
Constructor & Destructor Documentation
◆ PulseEnginePool()
| PulseEnginePool::PulseEnginePool | ( | size_t | poolSize = 0, |
| const std::string & | dataDir = "./", |
||
| Logger * | logger = nullptr |
||
| ) |
◆ ~PulseEnginePool()
|
default |
Member Function Documentation
◆ AllocateEngine()
|
overrideprotectedvirtual |
Implements SEPhysiologyEnginePool.
◆ CreateEngine() [1/2]
|
protected |
◆ CreateEngine() [2/2]
|
virtual |
Member Data Documentation
◆ m_creationType
|
protected |

Public Member Functions inherited from