Changeset 8779 for code/branches
- Timestamp:
- Jul 25, 2011, 6:28:57 PM (13 years ago)
- Location:
- code/branches/output/src/libraries/util
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/libraries/util/Output.h
r8777 r8779 35 35 namespace orxonox 36 36 { 37 using namespace test;38 37 namespace test 39 38 { 39 // Just for convenience 40 using std::endl; 40 41 using namespace level; 41 42 42 inline OutputStream& orxout(OutputLevel level = level::debug_output, OutputContext Function context = context::undefined)43 inline OutputStream& orxout(OutputLevel level = level::debug_output, OutputContext context = context::undefined()) 43 44 { 44 45 static OutputStream stream; … … 46 47 return stream; 47 48 } 49 50 inline OutputStream& orxout(OutputLevel level, OutputContextFunction context) 51 { 52 return orxout(level, context()); 53 } 48 54 } 49 55 } -
code/branches/output/src/libraries/util/output/OutputStream.cc
r8777 r8779 48 48 } 49 49 50 void OutputStream::setOutputAttributes(OutputLevel level, OutputContext Functioncontext)50 void OutputStream::setOutputAttributes(OutputLevel level, OutputContext context) 51 51 { 52 52 this->level_ = level; 53 this->context_ = context ();53 this->context_ = context; 54 54 55 55 this->bAcceptsOutput_ = OutputManager::getInstanceAndCreateListeners().acceptsOutput(this->level_, this->context_); -
code/branches/output/src/libraries/util/output/OutputStream.h
r8777 r8779 47 47 _UtilExport OutputStream(); 48 48 49 void _UtilExport setOutputAttributes(OutputLevel level, OutputContext Functioncontext);49 void _UtilExport setOutputAttributes(OutputLevel level, OutputContext context); 50 50 51 51 template <class T>
Note: See TracChangeset
for help on using the changeset viewer.