FlowDeviceFactory.cpp Source File#
FlowDeviceFactory.cpp
Go to the documentation of this file.
void reg(const string &name, function< FlowDevice *(Args...)> f)
Register a new object construction function.
Definition FactoryBase.h:80
void deleteFactory() override
Virtual abstract function that deletes the factory.
Definition FlowDeviceFactory.cpp:30
Some flow devices derived from class FlowDevice.
shared_ptr< FlowDevice > newFlowDevice(const string &model)
Create a FlowDevice object of the specified type.
Definition FlowDeviceFactory.cpp:36
shared_ptr< FlowDevice > newFlowDevice3(const string &model)
Create a FlowDevice object of the specified type.
Definition FlowDeviceFactory.cpp:41
Generated by 1.9.7