InputAgentExample.h

Go to the documentation of this file.
00001 /*
00002  * This file is part of Micole Architecture
00003  *
00004  * Copyright (C) 2007 Micole partners
00005  *
00006  * Micole Architecture is free software: you can redistribute it 
00007  * and/or modify it under the terms of the GNU Lesser General 
00008  * Public License as published by the Free Software Foundation, 
00009  * either version 3 of the License, or (at your option) any 
00010  * later version.
00011  *
00012  * Micole Architecture is distributed in the hope that it will be 
00013  * useful, * but WITHOUT ANY WARRANTY; without even the implied 
00014  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00015  * PURPOSE.  See the GNU Lesser General Public License for more 
00016  * details.
00017  *
00018  * You should have received a copy of the GNU Lesser General Public
00019  * License along with Micole Architecture.  If not, see
00020  * <http://www.gnu.org/licenses/>.
00021  */
00022 
00023 #ifndef INPUTAGENTEXAMPLE_H
00024 #define INPUTAGENTEXAMPLE_H
00025 #include "micolelib.h"
00026 
00027 #include <Node.h>
00028 #include "FF3DDeviceInputAgent.h"
00029 #include "FF3DDeviceOutputAgent.h"
00030 #include "KeyboardInputAgent.h"
00031 #include "TimerAgent.h"
00032 
00033 #include "MouseInputAgent.h"
00034 
00035 using namespace std;
00036 
00037 #include <DeviceInfo.h>
00038 #include <Scene.h>
00039 #include <AutoRef.h>
00040 #include <Display.h>
00041 #include <Shape.h>
00042 #include <Appearance.h>
00043 #include <Sphere.h>
00044 #include <list>
00045 
00046 using namespace std;
00047 
00052 class MICOLELIB_API InputAgentExample : public KeyboardInputAgent
00053 //public FF3DDeviceInputAgent, public KeyboardInputAgent, public MouseInputAgent, public TimerAgent
00054 {
00055         public:
00056                 InputAgentExample();
00057 
00058                 virtual ~InputAgentExample();
00059                 //virtual void onInput();
00060 //              Vec3f _grab;
00061                 //short int _recording;
00062                 //short int _replay;
00063 
00064                 //Vec3f _magneticPoint;
00065 
00066                 //list<Vec3f> _path;
00067                 
00068                 //virtual void onButtonDown();
00069                 //virtual void onButtonUp();
00070                 virtual void onKey(int key);
00071                 //virtual void onInput();
00072 
00073                 //virtual void onMove(Vec2f pos);
00074                 //virtual void onEvt(string evt);
00075 
00076                 //virtual void onTimer();
00077         private:
00078                 //int _timePassed;
00079 };
00080 
00081 #endif

Generated on Tue Oct 16 17:10:42 2007 for Micole by  doxygen 1.4.7