fw4spl
|
Defines an executable factory registrar class.An instance of this class is responsible for the registration of an executable factory instance in the runtime environment. The factory instace gets registered as soon as a registrar instance gets created. That's why this class is design to be instanciated as static object. More...
#include <ExecutableFactoryRegistrar.hpp>
Public Member Functions | |
FWRUNTIME_API | ExecutableFactoryRegistrar (std::shared_ptr< ExecutableFactory > factory) |
Constructor. More... | |
Defines an executable factory registrar class.
An instance of this class is responsible for the registration of an executable factory instance in the runtime environment. The factory instace gets registered as soon as a registrar instance gets created. That's why this class is design to be instanciated as static object.
Definition at line 36 of file ExecutableFactoryRegistrar.hpp.
fwRuntime::ExecutableFactoryRegistrar::ExecutableFactoryRegistrar | ( | std::shared_ptr< ExecutableFactory > | factory | ) |
Constructor.
[in] | factory | a shared pointer to an executable factory instance to manage |
Definition at line 19 of file ExecutableFactoryRegistrar.cpp.
References fwRuntime::Runtime::addExecutableFactory(), fwRuntime::Runtime::getDefault(), fwRuntime::Bundle::getLoadingBundle(), and SLM_ASSERT.