Changeset 9535 for code/branches/testing/src/libraries/util
- Timestamp:
- Mar 4, 2013, 10:24:30 PM (12 years ago)
- Location:
- code/branches/testing/src/libraries/util/output
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/testing/src/libraries/util/output/ConsoleWriter.h
r8858 r9535 50 50 { 51 51 public: 52 ConsoleWriter(); 53 ConsoleWriter(const ConsoleWriter&); 54 virtual ~ConsoleWriter(); 55 52 56 static ConsoleWriter& getInstance(); 53 57 … … 59 63 60 64 private: 61 ConsoleWriter();62 ConsoleWriter(const ConsoleWriter&);63 virtual ~ConsoleWriter();64 65 65 bool bEnabled_; ///< If false, the instance will not write output to the console. 66 66 }; -
code/branches/testing/src/libraries/util/output/LogWriter.h
r8858 r9535 57 57 { 58 58 public: 59 LogWriter(); 60 LogWriter(const LogWriter&); 61 virtual ~LogWriter(); 62 59 63 static LogWriter& getInstance(); 60 64 … … 65 69 66 70 private: 67 LogWriter();68 LogWriter(const LogWriter&);69 virtual ~LogWriter();70 71 71 void openFile(); 72 72 void closeFile(); -
code/branches/testing/src/libraries/util/output/MemoryWriter.h
r8858 r9535 67 67 68 68 public: 69 MemoryWriter(); 70 MemoryWriter(const MemoryWriter&); 71 virtual ~MemoryWriter(); 72 69 73 static MemoryWriter& getInstance(); 70 74 … … 76 80 77 81 private: 78 MemoryWriter();79 MemoryWriter(const MemoryWriter&);80 virtual ~MemoryWriter();81 82 82 std::vector<Message> messages_; ///< Stores all output messages from the creation of this instance until disable() is called. 83 83 }; -
code/branches/testing/src/libraries/util/output/OutputDefinitions.h
r8879 r9535 105 105 OutputContextSubID sub_id; ///< The id of the sub-context (or context::no_subcontext if this container doesn't define a sub-context) 106 106 std::string name; ///< The name of this context 107 108 inline bool operator==(const OutputContextContainer& other) const 109 { 110 return this->mask == other.mask && this->sub_id == other.sub_id && this->name == other.name; 111 } 107 112 }; 108 113 -
code/branches/testing/src/libraries/util/output/OutputManager.h
r9533 r9535 102 102 std::string getDefaultPrefix(OutputLevel level, const OutputContextContainer& context) const; 103 103 104 protected:105 104 inline const std::vector<OutputListener*>& getListeners() const 106 105 { return this->listeners_; }
Note: See TracChangeset
for help on using the changeset viewer.