Changeset 10992 for code/branches/cpp11_v2/src/libraries
- Timestamp:
- Dec 29, 2015, 5:16:28 PM (9 years ago)
- Location:
- code/branches/cpp11_v2/src/libraries
- Files:
-
- 32 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/ApplicationPaths.h
r10990 r10992 104 104 105 105 private: 106 // non-copyable: 106 107 ApplicationPaths(const ApplicationPaths&) = delete; 108 ApplicationPaths& operator=(const ApplicationPaths&) = delete; 107 109 108 110 std::vector<std::string> getModuleOrPluginPaths(boost::filesystem::path& directory, const std::string& extension); -
code/branches/cpp11_v2/src/libraries/core/ConfigurablePaths.h
r10990 r10992 93 93 94 94 private: 95 // non-copyable: 95 96 ConfigurablePaths(const ConfigurablePaths&) = delete; 97 ConfigurablePaths& operator=(const ConfigurablePaths&) = delete; 96 98 97 99 boost::filesystem::path& dataPath_; //!< Path to the data files folder -
code/branches/cpp11_v2/src/libraries/core/Core.h
r10990 r10992 92 92 93 93 private: 94 // non-copyable: 94 95 Core(const Core&) = delete; 96 Core& operator=(const Core&) = delete; 95 97 96 98 void setThreadAffinity(int limitToCPU); -
code/branches/cpp11_v2/src/libraries/core/GUIManager.h
r10990 r10992 151 151 152 152 private: 153 // non-copyable: 153 154 GUIManager(const GUIManager&) = delete; 155 GUIManager& operator=(const GUIManager&) = delete; 154 156 155 157 void executeCode(const std::string& str); -
code/branches/cpp11_v2/src/libraries/core/Game.h
r10990 r10992 145 145 }; 146 146 147 // non-copyable: 147 148 Game(const Game&) = delete; 149 Game& operator=(const Game&) = delete; 148 150 149 151 void loadGraphics(); -
code/branches/cpp11_v2/src/libraries/core/GameMode.h
r10990 r10992 66 66 GameMode() = delete; 67 67 GameMode(const GameMode&) = delete; 68 GameMode& operator=(const GameMode&) = delete; 68 69 ~GameMode() = delete; 69 70 -
code/branches/cpp11_v2/src/libraries/core/GraphicsManager.h
r10990 r10992 102 102 103 103 private: 104 // non-copyable: 104 105 GraphicsManager(const GraphicsManager&) = delete; 106 GraphicsManager& operator=(const GraphicsManager&) = delete; 105 107 106 108 // OGRE initialisation -
code/branches/cpp11_v2/src/libraries/core/Language.h
r10990 r10992 171 171 172 172 private: 173 // non-copyable: 173 174 Language(const Language&) = delete; 175 Language& operator=(const Language&) = delete; 174 176 175 177 void readDefaultLanguageFile(); -
code/branches/cpp11_v2/src/libraries/core/Resource.h
r10990 r10992 144 144 Resource() = delete; 145 145 Resource(const Resource&) = delete; 146 Resource& operator=(const Resource&) = delete; 146 147 ~Resource() = delete; 147 148 }; -
code/branches/cpp11_v2/src/libraries/core/class/Identifier.h
r10990 r10992 118 118 public: 119 119 Identifier(const std::string& name, Factory* factory, bool bLoadable); 120 virtual ~Identifier(); 121 122 // non-copyable: 120 123 Identifier(const Identifier&) = delete; 121 virtual ~Identifier();124 Identifier& operator=(const Identifier&) = delete; 122 125 123 126 /// Returns the name of the class the Identifier belongs to. … … 302 305 303 306 private: 307 // non-copyable: 304 308 ClassIdentifier(const ClassIdentifier<T>&) = delete; 309 ClassIdentifier& operator=(const ClassIdentifier<T>&) = delete; 305 310 306 311 void setConfigValues(T* object, Configurable*) const; -
code/branches/cpp11_v2/src/libraries/core/class/IdentifierManager.h
r10990 r10992 95 95 96 96 private: 97 // non-copyable: 97 98 IdentifierManager(const IdentifierManager&) = delete; 99 IdentifierManager& operator=(const IdentifierManager&) = delete; 98 100 99 101 /// Increases the hierarchyCreatingCounter_s variable, causing all new objects to store their parents. -
code/branches/cpp11_v2/src/libraries/core/command/CommandExecutor.h
r10990 r10992 133 133 private: 134 134 CommandExecutor() = default; ///< Empty constructor 135 CommandExecutor(const CommandExecutor&) = delete; ///< Not implemented copy-constructor136 135 ~CommandExecutor() = default; ///< Empty destructor 136 137 // non-copyable: 138 CommandExecutor(const CommandExecutor&) = delete; 139 CommandExecutor& operator=(const CommandExecutor&) = delete; 137 140 138 141 static CommandExecutor& getInstance(); -
code/branches/cpp11_v2/src/libraries/core/command/IRC.h
r10990 r10992 65 65 66 66 IRC(); 67 ~IRC() = default; 68 69 // non-copyable: 67 70 IRC(const IRC&) = delete; 68 ~IRC() = default;71 IRC& operator=(const IRC&) = delete; 69 72 70 73 Tcl::interpreter* interpreter_; ///< The Tcl interpreter that is used for the IRC connection -
code/branches/cpp11_v2/src/libraries/core/command/Shell.h
r10990 r10992 149 149 150 150 private: 151 // non-copyable: 151 152 Shell(const Shell&) = delete; 153 Shell& operator=(const Shell&) = delete; 152 154 153 155 // DevModeListener -
code/branches/cpp11_v2/src/libraries/core/command/TclBind.h
r10990 r10992 124 124 125 125 private: 126 // non-copyable: 126 127 TclBind(const TclBind&) = delete; 128 TclBind& operator=(const TclBind&) = delete; 127 129 128 130 static std::string tcl_helper(Tcl::object const &args, bool bQuery); -
code/branches/cpp11_v2/src/libraries/core/commandline/CommandLineParser.h
r10990 r10992 107 107 108 108 private: 109 // non-copyable: 109 110 CommandLineArgument(const CommandLineArgument&) = delete; 111 CommandLineArgument& operator=(const CommandLineArgument&) = delete; 110 112 111 113 //! Parses the value string of a command line argument. -
code/branches/cpp11_v2/src/libraries/core/config/ConfigFileManager.h
r10990 r10992 67 67 68 68 private: 69 // non-copyable: 69 70 ConfigFileManager(const ConfigFileManager&) = delete; 71 ConfigFileManager& operator=(const ConfigFileManager&) = delete; 70 72 71 73 std::array<ConfigFile*, 3> configFiles_; ///< Stores the config files for each type in an array (must have the same size like ConfigFileType::Value) -
code/branches/cpp11_v2/src/libraries/core/input/InputDevice.h
r10990 r10992 99 99 100 100 private: 101 // non-copyable: 101 102 InputDevice(const InputDevice&) = delete; 103 InputDevice& operator=(const InputDevice&) = delete; 102 104 103 105 bool bCalibrating_; //!< Whether the device is in calibration mode -
code/branches/cpp11_v2/src/libraries/core/input/InputManager.h
r10990 r10992 192 192 193 193 private: // functions 194 // non-copyable: 194 195 InputManager(const InputManager&) = delete; 196 InputManager& operator=(const InputManager&) = delete; 195 197 196 198 // Internal methods -
code/branches/cpp11_v2/src/libraries/core/input/KeyBinderManager.h
r10990 r10992 102 102 103 103 private: 104 // non-copyable: 104 105 KeyBinderManager(const KeyBinderManager&) = delete; 106 KeyBinderManager& operator=(const KeyBinderManager&) = delete; 107 105 108 void keybindInternal(const std::string& command, bool bTemporary); 106 109 void keybindKeyPressed(const std::string& keyName); -
code/branches/cpp11_v2/src/libraries/core/input/KeyDetector.h
r10990 r10992 48 48 49 49 private: 50 // non-copyable: 50 51 KeyDetector(const KeyDetector&) = delete; 52 KeyDetector& operator=(const KeyDetector&) = delete; 51 53 52 54 void callback(const std::string& name); -
code/branches/cpp11_v2/src/libraries/tools/ResourceCollection.h
r10990 r10992 54 54 55 55 private: 56 // non-copyable: 56 57 ResourceCollection(const ResourceCollection&) = delete; 58 ResourceCollection& operator=(const ResourceCollection&) = delete; 57 59 58 60 std::string resourceGroup_; -
code/branches/cpp11_v2/src/libraries/tools/ResourceLocation.h
r10990 r10992 60 60 61 61 private: 62 // non-copyable: 62 63 ResourceLocation(const ResourceLocation&) = delete; 64 ResourceLocation& operator=(const ResourceLocation&) = delete; 63 65 64 66 void load(const std::string& resourceGroup); -
code/branches/cpp11_v2/src/libraries/tools/TextureGenerator.h
r10990 r10992 52 52 TextureGenerator() = delete; 53 53 TextureGenerator(const TextureGenerator&) = delete; 54 TextureGenerator& operator=(const TextureGenerator&) = delete; 54 55 ~TextureGenerator() = delete; 55 56 -
code/branches/cpp11_v2/src/libraries/util/Clock.h
r10990 r10992 102 102 103 103 private: 104 // non-copyable: 104 105 Clock(const Clock&) = delete; 106 Clock& operator=(const Clock&) = delete; 105 107 106 108 Ogre::Timer* timer_; ///< Ogre timer object -
code/branches/cpp11_v2/src/libraries/util/DestructionHelper.h
r10990 r10992 87 87 88 88 private: 89 // non-copyable: 89 90 DestructionHelper(const DestructionHelper&) = delete; 91 DestructionHelper& operator=(const DestructionHelper&) = delete; 90 92 91 93 T* object_; -
code/branches/cpp11_v2/src/libraries/util/ImplicitConversion.h
r10990 r10992 71 71 ImplicitConversion() = delete; 72 72 ImplicitConversion(const ImplicitConversion&) = delete; 73 ImplicitConversion& operator=(const ImplicitConversion&) = delete; 73 74 ~ImplicitConversion() = delete; 75 74 76 // Gets chosen only if there is an implicit conversion from FromType to ToType. 75 77 static char test(ToType); -
code/branches/cpp11_v2/src/libraries/util/Singleton.h
r10990 r10992 144 144 145 145 private: 146 // non-copyable: 146 147 Singleton(const Singleton&) = delete; 148 Singleton& operator=(const Singleton&) = delete; 147 149 }; 148 150 } -
code/branches/cpp11_v2/src/libraries/util/output/ConsoleWriter.h
r10990 r10992 53 53 public: 54 54 ConsoleWriter(std::ostream& outputStream); 55 ConsoleWriter(const ConsoleWriter&) = delete;56 55 virtual ~ConsoleWriter(); 57 56 … … 66 65 67 66 private: 67 // non-copyable: 68 ConsoleWriter(const ConsoleWriter&) = delete; 69 ConsoleWriter& operator=(const ConsoleWriter&) = delete; 70 68 71 std::ostream& outputStream_; ///< The ostream to which the console writer writes its output 69 72 bool bEnabled_; ///< If false, the instance will not write output to the console. -
code/branches/cpp11_v2/src/libraries/util/output/LogWriter.h
r10990 r10992 57 57 public: 58 58 LogWriter(); 59 LogWriter(const LogWriter&) = delete;60 59 virtual ~LogWriter(); 61 60 … … 73 72 74 73 private: 74 // non-copyable: 75 LogWriter(const LogWriter&) = delete; 76 LogWriter& operator=(const LogWriter&) = delete; 77 75 78 void openFile(); 76 79 void closeFile(); -
code/branches/cpp11_v2/src/libraries/util/output/MemoryWriter.h
r10990 r10992 68 68 public: 69 69 MemoryWriter(); 70 MemoryWriter(const MemoryWriter&) = delete;71 70 virtual ~MemoryWriter(); 72 71 … … 78 77 79 78 private: 79 // non-copyable: 80 MemoryWriter(const MemoryWriter&) = delete; 81 MemoryWriter& operator=(const MemoryWriter&) = delete; 82 80 83 std::vector<Message> messages_; ///< Stores all output messages from the creation of this instance until disable() is called. 81 84 }; -
code/branches/cpp11_v2/src/libraries/util/output/OutputManager.h
r10990 r10992 67 67 public: 68 68 OutputManager(); 69 OutputManager(const OutputManager&) = delete;70 69 virtual ~OutputManager(); 71 70 … … 115 114 116 115 private: 116 // non-copyable: 117 OutputManager(const OutputManager&) = delete; 118 OutputManager& operator=(const OutputManager&) = delete; 119 117 120 void updateMasks(); 118 121 void updateCombinedLevelMask();
Note: See TracChangeset
for help on using the changeset viewer.