7 #ifndef __FWRUNTIME_UTILS_GENERICEXECUTABLEFACTORY_HPP__ 8 #define __FWRUNTIME_UTILS_GENERICEXECUTABLEFACTORY_HPP__ 13 #include "fwRuntime/Bundle.hpp" 14 #include "fwRuntime/ExecutableFactory.hpp" 62 catch( std::exception & exception )
64 std::ostringstream buffer;
65 buffer <<
"Unexpected exception caught while creating an ::fwRuntime::IExecutable instance. ";
66 buffer << exception.what();
71 throw RuntimeException(
"Unexpected exception caught while creating an ::fwRuntime::IExecutable instance." );
96 #endif // __FWRUNTIME_UTILS_GENERICEXECUTABLEFACTORY_HPP__ Defines the abstract executable factory class.
Defines the runtime exception class.
Defines the base executable interface.An executable object is an instance created by an extension poi...
The namespace fwRuntime contains classes to manage bundle, configuration element, extension point in ...
IExecutable * createExecutable() const
Creates an executable object instance.
GenericExecutableFactory(const std::string &type)
Constructor.
virtual ~GenericExecutableFactory()
Destructor : does nothing.
Defines a generic template executable factory class.