OMKInteractiveEventId.h

Go to the documentation of this file.
00001 
00002 /************************************************************************/
00003 /* This file is part of openMask(c) INRIA, CNRS, Universite de Rennes 1 */
00004 /* 1993-2002, 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_III_INTERACTIVEEVENTID_H_
00024 #define _OMK_III_INTERACTIVEEVENTID_H_
00025 
00026 #include "OMKEventIdentifier.h"
00027 #include "OMKBaseType.h"
00028 #include "OMKControlTakeOverPrm.h"
00029 #include "OMKAccessibleParameterPrm.h"
00030 #include "OMKAccessLevelList.inl"
00031 #include "OMKValuedEvent.h"
00032 
00033 namespace OMK
00034 {
00035 namespace EventId
00036 {
00038 
00039 
00040 
00041 
00042 extern OMKIII_API EventIdentifier GET_ACCESSIBLE_PARAMETERS ;
00046 extern OMKIII_API EventIdentifier ACCESSIBLE_PARAMETERS ;
00050 extern OMKIII_API EventIdentifier CONTROL_TAKE_OVER_AND_GET_CURRENT_VALUES ;
00054 extern OMKIII_API EventIdentifier CURRENT_VALUE ;
00058 extern OMKIII_API EventIdentifier CURRENT_VALUES_SENT_AND_CONTROL_TAKEN ;
00062 extern OMKIII_API EventIdentifier CONTROL_RELEASE ;
00066 extern OMKIII_API EventIdentifier CONTROL_RELEASED ;
00070 extern OMKIII_API EventIdentifier CONTROL_TAKEN_BY ;
00074 extern OMKIII_API EventIdentifier CONTROL_RELEASED_BY ;
00078 extern OMKIII_API EventIdentifier CONTROL_ENDED ;
00082 extern OMKIII_API EventIdentifier CONTROL_FREEZE ;
00086 extern OMKIII_API EventIdentifier CONTROL_UNFREEZE ;
00090 extern OMKIII_API EventIdentifier GET_CURRENT_VALUES ;
00094 extern OMKIII_API EventIdentifier CURRENT_VALUES_SENT ;
00098 extern OMKIII_API EventIdentifier NEW_VALUE_AVAILABLE ;
00100 } 
00101 } 
00102 
00103 namespace OMK  
00104 {
00105 namespace Iii 
00106 {
00107 class InteractorOutput ;
00108 class InteractorExtension ;
00109 class InteractiveExtension ;
00110 class IConnector ;
00111 class SessionPrm ;
00114 typedef std::pair< Name, Name > InteractorOutputsIndex ;
00116 typedef std::map< InteractorOutputsIndex, InteractorOutput* > InteractorOutputsMap ;
00118 typedef std::map< Name, SessionPrm* > SessionsMap ;
00119   
00120 } //namespace Iii
00126 namespace Type 
00127 {
00136 typedef std::list< AccessibleParameterPrm > AccessibleParametersListPrm ;
00137 DECLARE_TYPE_EVENT_LISTENER( AccessibleParametersListPrm, AccessibleParametersList, OMK::Iii::InteractorExtension ) ;
00138 
00139 typedef std::pair< Name, std::list< Name > > ControlTakenOfParameterPrm ;
00140 typedef std::list< ControlTakenOfParameterPrm > ControlTakenPrm ;
00141 DECLARE_TYPE_EVENT_LISTENER( ControlTakenPrm, ControlTaken, OMK::Iii::InteractorExtension ) ;
00142 
00143 DECLARE_EVENT_LISTENER( Name, ControlReleased, OMK::Iii::InteractorExtension ) ;
00144 
00145 DECLARE_EVENT_LISTENER( Name, ControlEnded, OMK::Iii::InteractorExtension ) ;
00146 
00147 typedef std::pair< Name, Name > ControlUpdatedPrm ;
00148 DECLARE_TYPE_EVENT_LISTENER( ControlUpdatedPrm, ControlUpdated, OMK::Iii::InteractorExtension ) ;
00149 
00150 //-----------------------------------------------------------------------------
00151 typedef AccessGroup GetAccessibleParametersPrm ;
00152 DECLARE_TYPE_EVENT_LISTENER( GetAccessibleParametersPrm, GetAccessibleParameters, OMK::Iii::InteractiveExtension ) ;
00153 
00154 typedef AccessLevelList< ControlTakeOverPrm > TakeOverAndGetCurrentValuesPrm ;
00155 DECLARE_TYPE_EVENT_LISTENER( TakeOverAndGetCurrentValuesPrm, TakeOverAndGetCurrentValues, OMK::Iii::InteractiveExtension ) ;
00156 
00157 typedef std::list< Name > ControlReleasePrm ;
00158 DECLARE_TYPE_EVENT_LISTENER( ControlReleasePrm, ControlRelease, OMK::Iii::InteractiveExtension ) ;
00159 
00160 typedef AccessLevelList< std::pair< Name, AccessGroupLevel > > ControlFreezePrm ;
00161 DECLARE_TYPE_EVENT_LISTENER( ControlFreezePrm, ControlFreeze, OMK::Iii::InteractiveExtension ) ;
00162 
00163 typedef std::list< Name > ControlUnfreezePrm ;
00164 DECLARE_TYPE_EVENT_LISTENER( ControlUnfreezePrm, ControlUnfreeze, OMK::Iii::InteractiveExtension ) ;
00165 
00166 typedef AccessLevelList< Name > GetCurrentValuesPrm ;
00167 DECLARE_TYPE_EVENT_LISTENER( GetCurrentValuesPrm, GetCurrentValues, OMK::Iii::InteractiveExtension ) ;
00168 
00169 typedef std::pair< Name, Name > NewValueAvailablePrm ;
00170 DECLARE_TYPE_EVENT_LISTENER( NewValueAvailablePrm, NewValueAvailable, OMK::Iii::InteractiveExtension ) ;
00171 
00173 } // namespace Type 
00174 } // namespace OMK 
00175 #endif // defined _OMK_III_INTERACTIVEEVENTID_H_

logo OpenMask

Documentation generated on Mon Jun 9 11:45:56 2008

Generated with doxygen by Dimitri van Heesch ,   1997-2007