NGC/NGCII core receiver factory singleton. More...
#include <factory.hpp>
Public Member Functions | |
| Factory (const Factory &)=delete | |
| Disables unused constructors and operators. | |
| Factory & | operator= (const Factory &)=delete |
| void | SetFactory (std::shared_ptr< ReceiverFactory > factory) |
| std::shared_ptr< ReceiverFactory > | GetFactory () |
Static Public Member Functions | |
| static Factory & | Instance () |
| Application singleton instance. | |
| static void | Set (std::shared_ptr< ReceiverFactory > factory) |
| static std::shared_ptr< ReceiverFactory > | Get () |
NGC/NGCII core receiver factory singleton.
Caution: Do not use the singleton to initialize other static variables and classes, as this may trigger the "C++ static intialization fiasko".
|
delete |
Disables unused constructors and operators.
|
inlinestatic |
Get receiver factory (singleton accees)
|
inline |
Get receiver factory
|
inlinestatic |
Application singleton instance.
|
inlinestatic |
Set receiver factory (singleton accees)
| factory | Receiver factory |
|
inline |
Set receiver factory
| factory | Receiver factory |