Changeset 14083 for trunk/FACT++/src/Console.cc
- Timestamp:
- 06/05/12 17:23:36 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Console.cc
r14071 r14083 82 82 } 83 83 84 void Console::Lock() 85 { 86 // FIXME: Check missing 87 fLogO.Display(true); 88 fLogO.SetBacklog(false); 89 fLogO.SetNullOutput(false); 90 } 91 92 void Console::Unlock() 93 { 94 // FIXME: Check missing 95 fLogO.SetNullOutput(true); 96 fLogO.SetBacklog(true); 97 } 98 84 99 // -------------------------------------------------------------------------- 85 100 // … … 96 111 if (str.substr(0, 3)==".w ") 97 112 { 98 fLogO.Display(true); 99 fLogO.SetBacklog(false); 100 fLogO.SetNullOutput(false); 113 Lock(); 101 114 usleep(stoul(str.substr(3))*1000); 102 fLogO.SetNullOutput(true); 103 fLogO.SetBacklog(true); 115 Unlock(); 104 116 return true; 105 117 } … … 205 217 // ************************************************************************** 206 218 219 ConsoleStream::~ConsoleStream() 220 { 221 fLogO.Display(); 222 } 207 223 208 224 // --------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.