00001 /************************************************************************/ 00002 /* This file is part of openMask(c) INRIA, CNRS, Universite de Rennes 1 */ 00003 /* 1993-2002, thereinafter the Software */ 00004 /* */ 00005 /* The Software has been developped within the Siames Project. */ 00006 /* INRIA, the University of Rennes 1 and CNRS jointly hold intellectual */ 00007 /* property rights */ 00008 /* */ 00009 /* The Software has been registered with the Agence pour la Protection */ 00010 /* des Programmes (APP) under registration number */ 00011 /* IDDN.FR.001.510008.00.S.P.2001.000.41200 */ 00012 /* */ 00013 /* This file may be distributed under the terms of the Q Public License */ 00014 /* version 1.0 as defined by Trolltech AS of Norway and appearing in */ 00015 /* the file LICENSE.QPL included in the packaging of this file. */ 00016 /* */ 00017 /* Licensees holding valid specific licenses issued by INRIA, CNRS or */ 00018 /* Universite Rennes 1 for the software may use this file in */ 00019 /* acordance with that specific license */ 00020 /************************************************************************/ 00021 #ifndef OMK_VIS_IANIMATOREVENTPLUG_H 00022 #define OMK_VIS_IANIMATOREVENTPLUG_H 00023 00024 #include "OMKVis.h" 00025 #include "OMKEventIdentifier.h" 00026 00027 namespace OMK 00028 { 00029 class Event ; 00030 namespace Vis 00031 { 00032 class VisBase ; 00033 00039 class OMKVIS_API IAnimatorEventPlug 00040 { 00041 public: 00042 00044 00045 00046 IAnimatorEventPlug( VisBase& vis, const EventIdentifier& eventId ) ; 00047 00049 virtual ~IAnimatorEventPlug() ; 00051 00053 00054 00055 00056 00057 00058 virtual void setEvent( const Event* event ) 00059 { 00060 // A new value is coming 00061 _updatedValue = true ; 00062 } 00064 00065 protected: 00066 00071 mutable bool _updatedValue ; 00073 VisBase& _vis ; 00075 EventIdentifier _eventId ; 00076 }; 00077 00078 }// namespace Vis 00079 }// namespace OMK 00080 00081 #endif //OMK_VIS_IANIMATOREVENTPLUG_H
Documentation generated on Mon Jun 9 11:45:56 2008 |
Generated with doxygen by Dimitri van Heesch , 1997-2007 |