fw4spl
ExecutableFactory.cpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2015.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #include "fwRuntime/ExecutableFactory.hpp"
8 
9 namespace fwRuntime
10 {
11 
12 //------------------------------------------------------------------------------
13 
14 ExecutableFactory::ExecutableFactory( const std::string & type )
15  : m_type( type )
16 {
17 }
18 
19 //------------------------------------------------------------------------------
20 
22 {
23 }
24 
25 //------------------------------------------------------------------------------
26 
27 const std::string ExecutableFactory::getType() const
28 {
29  return m_type;
30 }
31 
32 
33 } // namespace fwRuntime
FWRUNTIME_API ExecutableFactory(const std::string &type)
Constructor.
The namespace fwRuntime contains classes to manage bundle, configuration element, extension point in ...
FWRUNTIME_API const std::string getType() const
Retrieves the type of executable the factory is able to create.
virtual FWRUNTIME_API ~ExecutableFactory()
Destructor : does nothing.