fw4spl
fwRuntime::ExecutableFactoryRegistrar Struct Reference

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>

+ Inheritance diagram for fwRuntime::ExecutableFactoryRegistrar:

Public Member Functions

FWRUNTIME_API ExecutableFactoryRegistrar (std::shared_ptr< ExecutableFactory > factory)
 Constructor. More...
 

Detailed Description

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.

Date
2004-2009

Definition at line 36 of file ExecutableFactoryRegistrar.hpp.

Constructor & Destructor Documentation

fwRuntime::ExecutableFactoryRegistrar::ExecutableFactoryRegistrar ( std::shared_ptr< ExecutableFactory factory)

Constructor.

Parameters
[in]factorya shared pointer to an executable factory instance to manage
Precondition
Loading bundle exists.

Definition at line 19 of file ExecutableFactoryRegistrar.cpp.

References fwRuntime::Runtime::addExecutableFactory(), fwRuntime::Runtime::getDefault(), fwRuntime::Bundle::getLoadingBundle(), and SLM_ASSERT.

+ Here is the call graph for this function:


The documentation for this struct was generated from the following files: