7 #ifndef __FWATOMSPATCH_ISTRUCTURALCREATOR_HPP__ 8 #define __FWATOMSPATCH_ISTRUCTURALCREATOR_HPP__ 12 #include <fwCore/base.hpp> 13 #include <fwAtoms/Object.hpp> 15 #include "fwAtomsPatch/config.hpp" 43 FWATOMSPATCH_API virtual ::fwAtoms::Object::sptr create() = 0;
46 FWATOMSPATCH_API
virtual const std::string& getObjectVersion()
const;
49 FWATOMSPATCH_API
virtual const std::string& getObjectClassname()
const;
54 FWATOMSPATCH_API ::fwAtoms::Object::sptr createObjBase()
const;
#define fwCoreNonInstanciableClassDefinitionsMacro(_classinfo_)
Generate common code for Non Instanciable classes (Interfaces, Abstract classes, ...)
Base class for all FW4SPL's classes.
Base class of all structural creators. Creates a new atom object with the default values correspondin...
std::string m_version
Object version.
Contains base functionalities used to transform objects from a version to another.
#define fwCoreAllowSharedFromThis()
Generate getSptr and getConstSptr methods.
std::string m_classname
Object classname.