00001 00002 /************************************************************************/ 00003 /* This file is part of openMask(c) INRIA, CNRS, Universite de Rennes 1 */ 00004 /* 1993-2007, thereinafter the Software */ 00005 /* */ 00006 /* The Software has been developped within the Siames Project. */ 00007 /* INRIA, the University of Rennes 1 and CNRS jointly hold intellectual */ 00008 /* property rights */ 00009 /* */ 00010 /* The Software has been registered with the Agence pour la Protection */ 00011 /* des Programmes (APP) under registration number */ 00012 /* IDDN.FR.001.510008.00.S.P.2001.000.41200 */ 00013 /* */ 00014 /* This file may be distributed under the terms of the Q Public License */ 00015 /* version 1.0 as defined by Trolltech AS of Norway and appearing in */ 00016 /* the file LICENSE.QPL included in the packaging of this file. */ 00017 /* */ 00018 /* Licensees holding valid specific licenses issued by INRIA, CNRS or */ 00019 /* Universite Rennes 1 for the software may use this file in */ 00020 /* acordance with that specific license */ 00021 /************************************************************************/ 00022 00023 #if !defined OMK_TRIGGERCONTAINEREXTENSION_H 00024 #define OMK_TRIGGERCONTAINEREXTENSION_H 00025 00026 #include "OMKAddOn.h" 00027 #include "OMKExtensionManager.h" 00028 #include "OMKAttribute.h" 00029 00030 namespace OMK 00031 { 00075 class OMKADDON_API TriggerContainerExtension 00076 : public ExtensionT< ExtensibleSimulatedObject > 00077 { 00078 public: 00081 DECLARE_EXTENSION_FACTORY( TriggerContainerExtension ) ; 00082 protected: 00084 00085 00086 virtual bool loadObjectParameters( const ConfigurationParameterDescriptor * node ) ; 00088 virtual bool loadExtensionParameters( const ConfigurationParameterDescriptor * node ) ; 00090 00092 00093 00094 00095 virtual void preComputeParameters() ; 00098 virtual void postComputeParameters() ; 00100 00101 ExtensionManager _onExtensionsSet ; 00103 ExtensionManager _offExtensionsSet ; 00105 IAttributeBaseT< bool >* _trigger ; 00106 } ; 00107 00159 class OMKADDON_API MultiTriggerContainerExtension 00160 : public ExtensionT< ExtensibleSimulatedObject > 00161 { 00162 public: 00165 DECLARE_EXTENSION_FACTORY( MultiTriggerContainerExtension ) ; 00166 protected: 00168 00169 00170 virtual bool loadObjectParameters( const ConfigurationParameterDescriptor * node ) ; 00172 virtual bool loadExtensionParameters( const ConfigurationParameterDescriptor * node ) ; 00174 00176 00177 00178 00179 virtual void preComputeParameters() ; 00182 virtual void postComputeParameters() ; 00184 00185 00186 int _default ; 00188 std::vector< ExtensionManager > _extensionsSets ; 00190 IAttributeBaseT< int >* _trigger ; 00191 } ; 00192 00193 }// namespace OMK 00194 00195 #endif // defined OMK_TRIGGERCONTAINEREXTENSION_H
Documentation generated on Mon Jun 9 11:45:57 2008 |
Generated with doxygen by Dimitri van Heesch , 1997-2007 |