6#ifndef FLOWDEVICE_FACTORY_H
7#define FLOWDEVICE_FACTORY_H
31 static std::mutex flowDevice_mutex;
48shared_ptr<FlowDevice>
newFlowDevice(
const string& model,
const string& name=
"(none)");
File contains the FactoryBase class declarations.
Factory class that supports registering functions to create objects.
Factory class to create FlowDevice objects.
void deleteFactory() override
Virtual abstract function that deletes the factory.
shared_ptr< FlowDevice > newFlowDevice(const string &model, const string &name)
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.