Utility class to simplify factory access. More...
#include <afactory.h>

Static Public Member Functions | |
| static adore::fun::AFactory * | get () |
| static void | init (adore::fun::AFactory *funFactory) |
| Initialize private members of funFactory. More... | |
Private Member Functions | |
| FunFactoryInstance ()=default | |
| ~FunFactoryInstance ()=default | |
| FunFactoryInstance (const FunFactoryInstance &)=delete | |
| FunFactoryInstance & | operator= (const FunFactoryInstance &)=delete |
| FunFactoryInstance (FunFactoryInstance &&)=delete | |
| FunFactoryInstance & | operator= (FunFactoryInstance &&)=delete |
Static Private Member Functions | |
| static FunFactoryInstance & | getInstance () |
| Function to access singleton instance of the funFactory using magic static. More... | |
Private Attributes | |
| adore::fun::AFactory * | funFactory_ = 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 funFactory using magic static.

|
inlinestatic |
Initialize private members of funFactory.
This function should ideally run only once per process before the singleton instance is used Makes no guarantees on thread-safety
| funFactory |


|
privatedelete |
|
privatedelete |
|
private |