Changeset 10990 for code/branches/cpp11_v2/src/libraries/core/command
- Timestamp:
- Dec 29, 2015, 4:47:42 PM (9 years ago)
- Location:
- code/branches/cpp11_v2/src/libraries/core/command
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/command/CommandExecutor.h
r10768 r10990 132 132 133 133 private: 134 CommandExecutor() {}///< Empty constructor135 CommandExecutor(const CommandExecutor& other);///< Not implemented copy-constructor136 ~CommandExecutor() {}///< Empty destructor134 CommandExecutor() = default; ///< Empty constructor 135 CommandExecutor(const CommandExecutor&) = delete; ///< Not implemented copy-constructor 136 ~CommandExecutor() = default; ///< Empty destructor 137 137 138 138 static CommandExecutor& getInstance(); -
code/branches/cpp11_v2/src/libraries/core/command/Executor.cc
r10765 r10990 64 64 defaultValue_[i] = other.defaultValue_[i]; 65 65 this->functor_ = other.functor_->clone(); 66 }67 68 /**69 @brief Destructor70 */71 Executor::~Executor()72 {73 66 } 74 67 -
code/branches/cpp11_v2/src/libraries/core/command/Executor.h
r10828 r10990 100 100 Executor(const FunctorPtr& functor, const std::string& name = ""); 101 101 Executor(const Executor& other); 102 virtual ~Executor() ;102 virtual ~Executor() = default; 103 103 104 104 /// Calls the wrapped function with 0 arguments. If the function needs more arguments, the executor's default values are used. -
code/branches/cpp11_v2/src/libraries/core/command/Functor.h
r10987 r10990 187 187 188 188 public: 189 virtual ~Functor() {}189 virtual ~Functor() = default; 190 190 191 191 /// Calls the function-pointer with up to five arguments. In case of a member-function, the assigned object-pointer is used to call the function. @return Returns the return-value of the function (if any; MultiType::Null otherwise) -
code/branches/cpp11_v2/src/libraries/core/command/IRC.h
r7401 r10990 65 65 66 66 IRC(); 67 IRC(const IRC& other); ///< Copy-constructor: Not implemented68 ~IRC() {} ///< Destructor67 IRC(const IRC&) = delete; 68 ~IRC() = default; 69 69 70 70 Tcl::interpreter* interpreter_; ///< The Tcl interpreter that is used for the IRC connection -
code/branches/cpp11_v2/src/libraries/core/command/Shell.h
r10845 r10990 61 61 62 62 public: 63 virtual ~ShellListener() {} 63 ShellListener() = default; 64 virtual ~ShellListener() = default; 64 65 65 66 private: … … 148 149 149 150 private: 150 Shell(const Shell& other);151 Shell(const Shell&) = delete; 151 152 152 153 // DevModeListener -
code/branches/cpp11_v2/src/libraries/core/command/TclBind.h
r10768 r10990 124 124 125 125 private: 126 TclBind(const TclBind& other); ///< Copy-constructor, not implemented126 TclBind(const TclBind&) = delete; 127 127 128 128 static std::string tcl_helper(Tcl::object const &args, bool bQuery);
Note: See TracChangeset
for help on using the changeset viewer.