ThermoFactory.h Source File#
ThermoFactory.h
Go to the documentation of this file.
File contains the FactoryBase class declarations.
Header file for class ThermoPhase, the base class for phases with thermodynamic properties,...
A map of string keys to values whose type can vary at runtime.
Definition AnyMap.h:427
Factory class that supports registering functions to create objects.
Definition FactoryBase.h:69
Factory class for thermodynamic property managers.
Definition ThermoFactory.h:31
void deleteFactory() override
delete the static instance of this factory
Definition ThermoFactory.cpp:112
static ThermoFactory * factory()
Static function that creates a static instance of the factory.
Definition ThermoFactory.cpp:103
static std::mutex thermo_mutex
Decl for locking mutex for thermo factory singleton.
Definition ThermoFactory.h:47
Base class for a phase with thermodynamic properties.
Definition ThermoPhase.h:390
shared_ptr< ThermoPhase > newThermo(const AnyMap &phaseNode, const AnyMap &rootNode)
Create a new ThermoPhase object and initialize it.
Definition ThermoFactory.cpp:125
void setupPhase(ThermoPhase &thermo, const AnyMap &phaseNode, const AnyMap &rootNode)
Initialize a ThermoPhase object.
Definition ThermoFactory.cpp:207
shared_ptr< ThermoPhase > newThermoModel(const string &model)
Create a new ThermoPhase instance.
Definition ThermoFactory.cpp:119
Generated by 1.9.7