Stochastic Loading Module
|
#include <factory.h>
Public Member Functions | |
template<typename Tderivedclass > | |
void | register_factory (const std::string &key) |
std::shared_ptr< Tbaseclass > | create (const std::string &key, Targs &&...args) |
bool | check (const std::string &key) const |
std::vector< std::string > | list () const |
Static Public Member Functions | |
static Factory * | instance () |
Singleton factory implementation
Tbaseclass | Base class |
Targs | variadic template arguments |
|
inline |
|
inline |
|
inline |
|
inline |