6#ifndef FLOWDEVICE_FACTORY_H
7#define FLOWDEVICE_FACTORY_H
38 static std::mutex flowDevice_mutex;
File contains the FactoryBase class declarations.
Factory class that supports registering functions to create objects.
Factory class to create FlowDevice objects.
FlowDevice * newFlowDevice(const string &flowDeviceType)
Create a new flow device by type name.
void deleteFactory() override
Virtual abstract function that deletes the factory.
Base class for 'flow devices' (valves, pressure regulators, etc.) connecting reactors.
FlowDevice * newFlowDevice(const string &model)
Create a FlowDevice object of the specified type.
shared_ptr< FlowDevice > newFlowDevice3(const string &model)
Create a FlowDevice object of the specified type.
Namespace for the Cantera kernel.