OMKInteractorOutputT.cpp

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 #include "OMKInteractorOutputT.inl"
00024 #include "OMKExtensibleSimulatedObject.h"
00025 #include "OMKInteractorExtension.h"
00026 #include "OMKInteractiveEventId.h"
00027 #include "OMKIAttribute.h"
00028 #include "OMKParametersAccessor.inl"
00029 
00030 #include "OMKTransformType.h"
00031 using namespace OMK ;
00032 using namespace OMK::Iii ;
00033 using namespace OMK::Type ;
00034 
00035 #define REGISTER_INTERACTOR_OUTPUT_FACTORY( PrmType, ModelType ) \
00036   InteractorOutputFactory::getInstance(). \
00037     registerCreator< InteractorOutputCreatorT< InteractorOutputT< PrmType, ModelType > > > \
00038     ( std::pair< std::string, std::string >( typeid( PrmType ).name(), typeid( ModelType ).name() ) )
00039 
00040 #define REGISTER_INTERACTOR_OUTPUT_FACTORY_S( Type ) \
00041   InteractorOutputFactory::getInstance(). \
00042     registerCreator< InteractorOutputCreatorT< InteractorOutputT< Type, SimpleTypeT< Type > > > > \
00043     ( std::pair< std::string, std::string >( typeid( Type ).name(), typeid( SimpleTypeT< Type > ).name() ) )
00044 
00045 const bool REGISTERED = REGISTER_INTERACTOR_OUTPUT_FACTORY_S( Transform )
00046                      && REGISTER_INTERACTOR_OUTPUT_FACTORY_S( int )
00047                      && REGISTER_INTERACTOR_OUTPUT_FACTORY_S( float )
00048                      && REGISTER_INTERACTOR_OUTPUT_FACTORY_S( bool ) ;
00049 
00050 

logo OpenMask

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

Generated with doxygen by Dimitri van Heesch ,   1997-2007