- Timestamp:
- Nov 23, 2015, 10:20:29 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/input/InputDevice.h
r10821 r10845 153 153 154 154 //! Captures OIS events (which then get distributed to the derived class) and creates the button held events 155 v oid update(const Clock& time) override155 virtual void update(const Clock& time) override 156 156 { 157 157 oisDevice_->capture(); … … 171 171 172 172 //! Clears the list of pressed buttons and calls the derived class's method 173 v oid clearBuffers() override173 virtual void clearBuffers() override 174 174 { 175 175 pressedButtons_.clear(); … … 180 180 OISDeviceClass* getOISDevice() { return this->oisDevice_; } 181 181 // Returns the name of the derived class as string 182 std::string getClassName() const override { return DeviceClass::getClassNameImpl(); }182 virtual std::string getClassName() const override { return DeviceClass::getClassNameImpl(); } 183 183 184 184 protected:
Note: See TracChangeset
for help on using the changeset viewer.