Utility class to simplify factory access. More...
#include <afactory.h>
Static Public Member Functions | |
static adore::env::AFactory * | get () |
static void | init (adore::env::AFactory *envFactory) |
Initialize private members of AllFactory. More... | |
Private Member Functions | |
EnvFactoryInstance ()=default | |
~EnvFactoryInstance ()=default | |
EnvFactoryInstance (const EnvFactoryInstance &)=delete | |
EnvFactoryInstance & | operator= (const EnvFactoryInstance &)=delete |
EnvFactoryInstance (EnvFactoryInstance &&)=delete | |
EnvFactoryInstance & | operator= (EnvFactoryInstance &&)=delete |
Static Private Member Functions | |
static EnvFactoryInstance & | getInstance () |
Function to access singleton instance of the envFactory using magic static. More... | |
Private Attributes | |
adore::env::AFactory * | envFactory_ = 0 |
Utility class to simplify factory access.
init() function should be used once per process to set factories
|
privatedefault |
|
privatedefault |
|
privatedelete |
|
privatedelete |
|
inlinestatic |
|
inlinestaticprivate |
Function to access singleton instance of the envFactory using magic static.
|
inlinestatic |
Initialize private members of AllFactory.
This function should ideally run only once per process before the singleton instance is used Makes no guarantees on thread-safety
envFactory |
|
privatedelete |
|
privatedelete |
|
private |