Abstract class for a fallback strategy when factory lookup fails. More...
#include <rutz/factory.h>
Public Member Functions | |
factory_fallback () throw () | |
Default constructor. | |
virtual | ~factory_fallback () throw () |
Virtual no-throw destructor for proper inheritance. | |
virtual void | try_fallback (const rutz::fstring &key) const =0 |
This will be called with the key whose lookup failed in the factory. |
Abstract class for a fallback strategy when factory lookup fails.
Definition at line 101 of file factory.h.
rutz::factory_fallback::factory_fallback | ( | ) | throw () |
Default constructor.
Definition at line 65 of file factory.cc.
rutz::factory_fallback::~factory_fallback | ( | ) | throw () [virtual] |
Virtual no-throw destructor for proper inheritance.
Definition at line 68 of file factory.cc.
virtual void rutz::factory_fallback::try_fallback | ( | const rutz::fstring & | key | ) | const [pure virtual] |
This will be called with the key whose lookup failed in the factory.
Implemented in PluginFallback.