28 std::unique_lock<std::mutex> lock(wall_mutex);
36 std::unique_lock<std::mutex> lock(wall_mutex);
49 static std::mutex wall_mutex;
57 return WallFactory::factory()->newWall(model);
File contains the FactoryBase class declarations.
Header file for base class WallBase.
Factory class that supports registering functions to create objects.
Base class for 'walls' (walls, pistons, etc.) connecting reactors.
Factory class to create WallBase objects.
virtual WallBase * newWall(const std::string &wallType)
Create a new wall by type name.
virtual void deleteFactory()
Virtual abstract function that deletes the factory.
WallBase * newWall(const std::string &model)
Create a WallBase object of the specified type.
Namespace for the Cantera kernel.