Changeset 10990 for code/branches/cpp11_v2/src/libraries/core/input
- Timestamp:
- Dec 29, 2015, 4:47:42 PM (9 years ago)
- Location:
- code/branches/cpp11_v2/src/libraries/core/input
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/input/InputBuffer.h
r10845 r10990 47 47 trueKeyFalseChar_(trueKeyFalseChar), char_(_char), key_(key) 48 48 { } 49 virtual ~BaseInputBufferListenerTuple() { }49 virtual ~BaseInputBufferListenerTuple() = default; 50 50 virtual void callFunction() = 0; 51 51 bool bListenToAllChanges_; … … 65 65 listener_(listener), function_(function) 66 66 { } 67 virtual ~InputBufferListenerTuple() { }67 virtual ~InputBufferListenerTuple() = default; 68 68 virtual void callFunction() override 69 69 { -
code/branches/cpp11_v2/src/libraries/core/input/InputCommands.h
r10845 r10990 57 57 public: 58 58 BaseCommand() : bFixedKeybindMode_(false) {} 59 virtual ~BaseCommand() { }59 virtual ~BaseCommand() = default; 60 60 61 61 virtual bool execute(float abs = 1.0f, float rel = 1.0f) = 0; -
code/branches/cpp11_v2/src/libraries/core/input/InputDevice.h
r10916 r10990 60 60 //! Only resets the members 61 61 InputDevice(unsigned int id) : bCalibrating_(false), deviceID_(id) { } 62 virtual ~InputDevice() { }62 virtual ~InputDevice() = default; 63 63 //! Returns the device class (derived) name as string 64 64 virtual std::string getClassName() const = 0; … … 99 99 100 100 private: 101 InputDevice(const InputDevice& rhs); //!< Don't use!101 InputDevice(const InputDevice&) = delete; 102 102 103 103 bool bCalibrating_; //!< Whether the device is in calibration mode -
code/branches/cpp11_v2/src/libraries/core/input/InputHandler.h
r8729 r10990 119 119 { 120 120 public: 121 virtual ~InputHandler() { }121 virtual ~InputHandler() = default; 122 122 123 123 template<class T> void buttonEvent(unsigned int device, T button, ButtonEvent::TPress) -
code/branches/cpp11_v2/src/libraries/core/input/InputManager.h
r10845 r10990 192 192 193 193 private: // functions 194 // don't mess with a Singleton 195 InputManager(const InputManager&); 194 InputManager(const InputManager&) = delete; 196 195 197 196 // Internal methods -
code/branches/cpp11_v2/src/libraries/core/input/InputState.h
r10845 r10990 155 155 private: 156 156 InputState(const std::string& name, bool bAlwaysGetsInput, bool bTransparent, InputStatePriority priority); 157 ~InputState() { }157 ~InputState() = default; 158 158 159 159 virtual void JoyStickQuantityChanged(const std::vector<JoyStick*>& joyStickList) override; -
code/branches/cpp11_v2/src/libraries/core/input/JoyStick.h
r10845 r10990 70 70 //! Assigns a generated ID string and loads the calibration (if present) 71 71 JoyStick(unsigned int id, OIS::InputManager* oisInputManager); 72 ~JoyStick() { }72 ~JoyStick() = default; 73 73 void setConfigValues(); 74 74 -
code/branches/cpp11_v2/src/libraries/core/input/JoyStickQuantityListener.h
r9667 r10990 48 48 protected: 49 49 JoyStickQuantityListener(); 50 virtual ~JoyStickQuantityListener() { }50 virtual ~JoyStickQuantityListener() = default; 51 51 52 52 //! Returns a list with all JoySticks currently loaded -
code/branches/cpp11_v2/src/libraries/core/input/KeyBinderManager.h
r10829 r10990 102 102 103 103 private: 104 KeyBinderManager(const KeyBinderManager&) ;104 KeyBinderManager(const KeyBinderManager&) = delete; 105 105 void keybindInternal(const std::string& command, bool bTemporary); 106 106 void keybindKeyPressed(const std::string& keyName); -
code/branches/cpp11_v2/src/libraries/core/input/KeyDetector.h
r10845 r10990 48 48 49 49 private: 50 KeyDetector(const KeyDetector&) ;50 KeyDetector(const KeyDetector&) = delete; 51 51 52 52 void callback(const std::string& name); -
code/branches/cpp11_v2/src/libraries/core/input/Keyboard.h
r10845 r10990 63 63 //! Only resets the keyboard modifiers. Initialising is done in the base class. 64 64 Keyboard(unsigned int id, OIS::InputManager* oisInputManager) : super(id, oisInputManager), modifiers_(0) { } 65 ~Keyboard() { }65 ~Keyboard() = default; 66 66 67 67 private:
Note: See TracChangeset
for help on using the changeset viewer.