- Timestamp:
- Aug 11, 2011, 11:20:39 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/libraries/util/output/OutputStream.cc
r8789 r8833 38 38 } 39 39 40 OutputStream::OutputStream(OutputLevel level, OutputContextcontext)40 OutputStream::OutputStream(OutputLevel level, const OutputContextContainer& context) 41 41 { 42 42 this->setOutputAttributes(level, context); … … 45 45 void OutputStream::sendMessage() 46 46 { 47 OutputManager::getInstanceAndCreateListeners().pushMessage(this->level_, this->context_, this->str());47 OutputManager::getInstanceAndCreateListeners().pushMessage(this->level_, *this->context_, this->str()); 48 48 this->str(""); 49 49 } 50 50 51 void OutputStream::setOutputAttributes(OutputLevel level, OutputContextcontext)51 void OutputStream::setOutputAttributes(OutputLevel level, const OutputContextContainer& context) 52 52 { 53 53 this->level_ = level; 54 this->context_ = context;54 this->context_ = &context; 55 55 56 56 this->bAcceptsOutput_ = OutputManager::getInstanceAndCreateListeners().acceptsOutput(level, context);
Note: See TracChangeset
for help on using the changeset viewer.