Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
00001 // Copyright 2006-2011 by Kat'Oun 00002 00003 #ifndef _INPUT_DEVICE_H_ 00004 #define _INPUT_DEVICE_H_ 00005 00006 #include <EngineConfig.h> 00007 #include <core/Types.h> 00008 #include <input/InputDeviceDefines.h> 00009 #include <engine/Object.h> 00010 00011 #include <string> 00012 00013 namespace input 00014 { 00015 00017 class ENGINE_PUBLIC_EXPORT InputDevice: public engine::Object 00018 { 00019 public: 00020 00022 InputDevice(); 00023 00025 virtual ~InputDevice(); 00026 00028 InputType getInputType(); 00029 00031 bool getBuffered(); 00032 00034 void setBuffered(bool buffered); 00035 00037 const std::string& getVendor() const; 00038 00039 protected: 00040 00042 static u32 msNextGeneratedInputDeviceIndex; 00043 00044 void initProperties(); 00045 00046 // Type of controller object 00047 InputType mInputType; 00048 00049 virtual void updateImpl(f32 elapsedTime); 00050 00051 // Buffered flag 00052 bool mBuffered; 00053 00054 std::string mVendor; 00055 }; 00056 00057 } // end namespace input 00058 00059 #endif
The KG Game Engine
Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:04 by
Doxygen
(1.7.4)
|