fw4spl
|
Defines a generic template executable factory class. More...
#include <GenericExecutableFactory.hpp>
Public Member Functions | |
GenericExecutableFactory (const std::string &type) | |
Constructor. More... | |
virtual | ~GenericExecutableFactory () |
Destructor : does nothing. | |
IExecutable * | createExecutable () const |
Creates an executable object instance. More... | |
Public Member Functions inherited from fwRuntime::ExecutableFactory | |
FWRUNTIME_API const std::string | getType () const |
Retrieves the type of executable the factory is able to create. More... | |
FWRUNTIME_API | ExecutableFactory (const std::string &type) |
Constructor. More... | |
virtual FWRUNTIME_API | ~ExecutableFactory () |
Destructor : does nothing. | |
Public Member Functions inherited from fwRuntime::BundleElement | |
FWRUNTIME_API std::shared_ptr< Bundle > | getBundle () const |
Retrieves the bundle that owns the extension. More... | |
FWRUNTIME_API bool | isEnable () const |
Tells if the element is enabled or not. More... | |
FWRUNTIME_API void | setEnable (const bool enable) |
Set if the element is enabled or not. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from fwRuntime::BundleElement | |
BundleElement () | |
Constructor. More... | |
BundleElement (std::shared_ptr< Bundle > bundle) | |
Constructor. More... | |
Defines a generic template executable factory class.
Definition at line 30 of file GenericExecutableFactory.hpp.
|
inline |
Constructor.
[in] | type | a string containing the type supported by the factory |
Definition at line 37 of file GenericExecutableFactory.hpp.
|
inlinevirtual |
Creates an executable object instance.
Implements fwRuntime::ExecutableFactory.
Definition at line 55 of file GenericExecutableFactory.hpp.