Changeset 9667 for code/trunk/src/libraries/core/input
- Timestamp:
- Aug 25, 2013, 9:08:42 PM (11 years ago)
- Location:
- code/trunk
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/core6 merged: 9552-9554,9556-9574,9577-9579,9585-9593,9596-9612,9626-9662
- Property svn:mergeinfo changed
-
code/trunk/src/libraries/core/input/Button.cc
r8858 r9667 42 42 #include "core/command/CommandEvaluation.h" 43 43 #include "core/command/CommandExecutor.h" 44 #include "core/ ConfigFileManager.h"44 #include "core/config/ConfigFile.h" 45 45 46 46 namespace orxonox -
code/trunk/src/libraries/core/input/InputBuffer.cc
r6417 r9667 31 31 #include "util/Clipboard.h" 32 32 #include "core/CoreIncludes.h" 33 #include "core/ ConfigValueIncludes.h"33 #include "core/config/ConfigValueIncludes.h" 34 34 35 35 namespace orxonox 36 36 { 37 RegisterClassNoArgs(InputBuffer); 38 37 39 InputBuffer::InputBuffer() 38 40 { 39 Register RootObject(InputBuffer);41 RegisterObject(InputBuffer); 40 42 41 43 this->cursor_ = 0; … … 57 59 InputBuffer::InputBuffer(const std::string& allowedChars) 58 60 { 59 Register RootObject(InputBuffer);61 RegisterObject(InputBuffer); 60 62 61 63 this->maxLength_ = 1024; -
code/trunk/src/libraries/core/input/InputBuffer.h
r6417 r9667 34 34 #include <list> 35 35 #include <string> 36 #include "core/ OrxonoxClass.h"36 #include "core/config/Configurable.h" 37 37 #include "InputHandler.h" 38 38 … … 74 74 }; 75 75 76 class _CoreExport InputBuffer : public InputHandler, public OrxonoxClass76 class _CoreExport InputBuffer : public InputHandler, public Configurable 77 77 { 78 78 public: -
code/trunk/src/libraries/core/input/InputManager.cc
r9550 r9667 46 46 #include "util/Exception.h" 47 47 #include "core/CoreIncludes.h" 48 #include "core/ConfigValueIncludes.h"49 #include "core/CommandLineParser.h"50 48 #include "core/GraphicsManager.h" 49 #include "core/config/ConfigValueIncludes.h" 50 #include "core/config/CommandLineParser.h" 51 51 #include "core/command/ConsoleCommand.h" 52 52 #include "core/command/Functor.h" … … 98 98 , calibratorCallbackHandler_(0) 99 99 { 100 Register RootObject(InputManager);100 RegisterObject(InputManager); 101 101 102 102 orxout(internal_status, context::input) << "InputManager: Constructing..." << endl; … … 280 280 this->destroyState("calibrator"); 281 281 // Destroy KeyDetector and state 282 calibratorCallbackHandler_->destroy();282 delete calibratorCallbackHandler_; 283 283 // Destroy the empty InputState 284 284 this->destroyStateInternal(this->emptyState_); … … 642 642 assert(state && this->activeStates_.find(state->getPriority()) == this->activeStates_.end()); 643 643 statesByName_.erase(state->getName()); 644 state->destroy();644 delete state; 645 645 } 646 646 -
code/trunk/src/libraries/core/input/JoyStick.cc
r8858 r9667 34 34 35 35 #include "util/StringUtils.h" 36 #include "core/ConfigFileManager.h" 37 #include "core/ConfigValueIncludes.h" 36 #include "core/config/ConfigFile.h" 37 #include "core/config/ConfigFileManager.h" 38 #include "core/config/ConfigValueIncludes.h" 38 39 #include "core/CoreIncludes.h" 39 40 #include "util/Convert.h" … … 50 51 : super(id, oisInputManager) 51 52 { 52 Register RootObject(JoyStick);53 RegisterObject(JoyStick); 53 54 this->setConfigValues(); 54 55 // Initialise POV and Slider states -
code/trunk/src/libraries/core/input/JoyStick.h
r8729 r9667 36 36 #include <ois/OISJoyStick.h> 37 37 #include "InputDevice.h" 38 #include "core/config/Configurable.h" 38 39 39 40 namespace orxonox … … 58 59 */ 59 60 class _CoreExport JoyStick 60 : public OrxonoxClass61 : public Configurable 61 62 , public InputDeviceTemplated<JoyStickTraits> 62 63 , public OIS::JoyStickListener -
code/trunk/src/libraries/core/input/JoyStickQuantityListener.cc
r5781 r9667 30 30 31 31 #include "core/CoreIncludes.h" 32 #include "core/ ObjectList.h"32 #include "core/object/ObjectList.h" 33 33 34 34 namespace orxonox -
code/trunk/src/libraries/core/input/JoyStickQuantityListener.h
r8729 r9667 38 38 39 39 #include <vector> 40 #include "core/ OrxonoxClass.h"40 #include "core/object/Listable.h" 41 41 42 42 namespace orxonox 43 43 { 44 44 //! Derive from this class to get informed when joy sticks get added/removed 45 class _CoreExport JoyStickQuantityListener : virtual public OrxonoxClass45 class _CoreExport JoyStickQuantityListener : virtual public Listable 46 46 { 47 47 friend class InputManager; -
code/trunk/src/libraries/core/input/KeyBinder.cc
r8858 r9667 34 34 #include "util/Output.h" 35 35 #include "util/Exception.h" 36 #include "core/ConfigValueIncludes.h"37 36 #include "core/CoreIncludes.h" 38 #include "core/ConfigFileManager.h" 37 #include "core/config/ConfigValueIncludes.h" 38 #include "core/config/ConfigFile.h" 39 39 #include "core/PathConfig.h" 40 40 #include "InputCommands.h" … … 58 58 mousePosition_[1] = 0.0; 59 59 60 Register RootObject(KeyBinder);60 RegisterObject(KeyBinder); 61 61 62 62 // initialise all buttons and half axes to avoid creating everything with 'new' -
code/trunk/src/libraries/core/input/KeyBinderManager.cc
r8858 r9667 32 32 #include "util/Exception.h" 33 33 #include "util/ScopedSingletonManager.h" 34 #include "core/ ConfigValueIncludes.h"34 #include "core/config/ConfigValueIncludes.h" 35 35 #include "core/CoreIncludes.h" 36 36 #include "core/LuaState.h" -
code/trunk/src/libraries/core/input/KeyBinderManager.h
r8729 r9667 36 36 37 37 #include "util/Singleton.h" 38 #include "core/ OrxonoxClass.h"38 #include "core/config/Configurable.h" 39 39 40 40 namespace orxonox //tolua_export … … 53 53 */ 54 54 class _CoreExport KeyBinderManager //tolua_export 55 : public Singleton<KeyBinderManager>, public OrxonoxClass55 : public Singleton<KeyBinderManager>, public Configurable 56 56 { //tolua_export 57 57 friend class Singleton<KeyBinderManager>; -
code/trunk/src/libraries/core/input/Mouse.cc
r8729 r9667 54 54 : super(id, oisInputManager) 55 55 { 56 Register RootObject(Mouse);56 RegisterObject(Mouse); 57 57 this->windowResized(this->getWindowWidth(), this->getWindowHeight()); 58 58
Note: See TracChangeset
for help on using the changeset viewer.