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

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


|
privatedelete |
|
privatedelete |
|
private |