Changeset 9589 for code/branches/core6/src/libraries
- Timestamp:
- Mar 26, 2013, 11:43:43 PM (12 years ago)
- Location:
- code/branches/core6/src/libraries
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core6/src/libraries/core/Core.h
r9578 r9589 47 47 #include "util/DestructionHelper.h" 48 48 #include "util/Singleton.h" 49 #include "c lass/OrxonoxClass.h"49 #include "config/Configurable.h" 50 50 51 51 namespace orxonox 52 52 { 53 53 //! Informs about changes in the Development Mode. 54 class DevModeListener : virtual public OrxonoxClass54 class DevModeListener : virtual public Listable 55 55 { 56 56 public: -
code/branches/core6/src/libraries/core/ViewportEventListener.h
r9563 r9589 33 33 34 34 #include "util/OgreForwardRefs.h" 35 #include " class/OrxonoxClass.h"35 #include "object/Listable.h" 36 36 37 37 namespace orxonox 38 38 { 39 class _CoreExport ViewportEventListener : virtual public OrxonoxClass39 class _CoreExport ViewportEventListener : virtual public Listable 40 40 { 41 41 public: -
code/branches/core6/src/libraries/core/WindowEventListener.h
r9563 r9589 36 36 37 37 #include "CorePrereqs.h" 38 #include " class/OrxonoxClass.h"38 #include "object/Listable.h" 39 39 40 40 namespace orxonox 41 41 { 42 42 //! Interface for receiving window events like resize, moved and focusChanged 43 class _CoreExport WindowEventListener : virtual public OrxonoxClass43 class _CoreExport WindowEventListener : virtual public Listable 44 44 { 45 45 friend class OgreWindowEventListener; -
code/branches/core6/src/libraries/core/XMLNameListener.h
r9563 r9589 36 36 37 37 #include "CorePrereqs.h" 38 #include " class/OrxonoxClass.h"38 #include "object/Listable.h" 39 39 40 40 namespace orxonox 41 41 { 42 class _CoreExport XMLNameListener : virtual public OrxonoxClass42 class _CoreExport XMLNameListener : virtual public Listable 43 43 { 44 44 public: -
code/branches/core6/src/libraries/core/command/IOConsolePOSIX.cc
r9550 r9589 99 99 100 100 resetTerminalMode(); 101 this->shell_->destroy();101 delete this->shell_; 102 102 103 103 // Restore this->cout_ redirection -
code/branches/core6/src/libraries/core/command/IOConsoleWindows.cc
r9550 r9589 113 113 114 114 resetTerminalMode(); 115 this->shell_->destroy();115 delete this->shell_; 116 116 } 117 117 -
code/branches/core6/src/libraries/core/input/InputManager.cc
r9578 r9589 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/branches/core6/src/libraries/core/input/JoyStickQuantityListener.h
r9563 r9589 38 38 39 39 #include <vector> 40 #include "core/ class/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/branches/core6/src/libraries/network/ClientConnectionListener.h
r9563 r9589 31 31 32 32 #include "NetworkPrereqs.h" 33 #include "core/ class/OrxonoxClass.h"33 #include "core/object/Listable.h" 34 34 35 35 namespace orxonox 36 36 { 37 class _NetworkExport ClientConnectionListener : virtual public OrxonoxClass37 class _NetworkExport ClientConnectionListener : virtual public Listable 38 38 { 39 39 public: -
code/branches/core6/src/libraries/network/NetworkChatListener.h
r9563 r9589 32 32 #include "NetworkPrereqs.h" 33 33 34 #include "core/ class/OrxonoxClass.h"34 #include "core/object/Listable.h" 35 35 36 36 namespace orxonox … … 43 43 in Host and ChatManager. ChatManager is the main derivative of this interface. 44 44 */ 45 class _NetworkExport NetworkChatListener : virtual public OrxonoxClass45 class _NetworkExport NetworkChatListener : virtual public Listable 46 46 { 47 47 friend class Host; -
code/branches/core6/src/libraries/network/NetworkFunction.cc
r7284 r9589 57 57 std::map<std::string, NetworkFunctionBase*>::iterator it; 58 58 for( it=map.begin(); it!=map.end(); ++it ) 59 it->second->destroy();59 delete it->second; 60 60 } 61 61 -
code/branches/core6/src/libraries/network/NetworkFunction.h
r9563 r9589 39 39 #include <boost/static_assert.hpp> 40 40 41 #include "core/object/Listable.h" 41 42 #include "core/class/Identifier.h" 42 43 #include "core/command/Functor.h" … … 70 71 71 72 72 class _NetworkExport NetworkFunctionBase: virtual public OrxonoxClass{73 class _NetworkExport NetworkFunctionBase: virtual public Listable { 73 74 public: 74 75 NetworkFunctionBase(const std::string& name); -
code/branches/core6/src/libraries/tools/interfaces/TimeFactorListener.h
r9563 r9589 31 31 32 32 #include "tools/ToolsPrereqs.h" 33 #include "core/ class/OrxonoxClass.h"33 #include "core/object/Listable.h" 34 34 35 35 namespace orxonox 36 36 { 37 class _ToolsExport TimeFactorListener : virtual public OrxonoxClass37 class _ToolsExport TimeFactorListener : virtual public Listable 38 38 { 39 39 public:
Note: See TracChangeset
for help on using the changeset viewer.