00001 #ifndef OMK_DUPLICATEDATTRIBUTEEXTENSION_H 00002 #define OMK_DUPLICATEDATTRIBUTEEXTENSION_H 00003 00004 #include "OMKExtension.h" 00005 #include "OMKAttribute.h" 00006 namespace OMK 00007 { 00008 00009 template< typename AttributType, typename Type > class DuplicatedAttributeExtensionCreatorT ; 00046 template< typename AttributType, typename Type > 00047 class DuplicatedAttributeExtension: 00048 public OMK::ExtensionT< ExtensibleSimulatedObject > 00049 { 00050 public: 00052 00053 friend class DuplicatedAttributeExtensionCreatorT< AttributType, Type > ; 00055 00056 static Name OMK_CLASS_ID ; 00058 static const bool REGISTERED_IN_EXTENSION_FACTORY ; 00059 protected: 00062 DuplicatedAttributeExtension( ExtensibleSimulatedObject* owner, const Name& id ) ; 00063 public: 00065 virtual ~DuplicatedAttributeExtension() ; 00066 00069 00070 protected: 00074 virtual bool loadExtensionParameters( const ConfigurationParameterDescriptor * node ) ; 00076 00077 00078 AttributeAccT< Type, AttributType >* _duplicatedAttribute ; 00079 }; 00080 00081 } // namespace OMK 00082 00083 #endif // OMK_DUPLICATEDATTRIBUTEEXTENSION_H
Documentation generated on Mon Jun 9 11:45:56 2008 |
Generated with doxygen by Dimitri van Heesch , 1997-2007 |