|
fw4spl
|
Defines the abstract executable factory class. More...
#include <ExecutableFactory.hpp>
Inheritance diagram for fwRuntime::ExecutableFactory:
Collaboration diagram for fwRuntime::ExecutableFactory:Public Member Functions | |
| virtual IExecutable * | createExecutable () const =0 |
| Creates an executable object instance. More... | |
| FWRUNTIME_API const std::string | getType () const |
| Retrieves the type of executable the factory is able to create. More... | |
Construction & Destruction | |
| 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 the abstract executable factory class.
Definition at line 33 of file ExecutableFactory.hpp.
| fwRuntime::ExecutableFactory::ExecutableFactory | ( | const std::string & | type | ) |
Constructor.
| [in] | type | a string containing a type identifier |
Definition at line 14 of file ExecutableFactory.cpp.
|
pure virtual |
Creates an executable object instance.
Implemented in fwRuntime::utils::GenericExecutableFactory< E >.
| const std::string fwRuntime::ExecutableFactory::getType | ( | ) | const |
Retrieves the type of executable the factory is able to create.
Definition at line 27 of file ExecutableFactory.cpp.