#include <CategoryStream.hpp>
Public Member Functions | |
| CategoryStream (const CategoryStream &rhs) | |
| CategoryStream (Category *rt_category, log4cpp::Priority::Value priority) | |
| CategoryStream (const CategoryStream &rhs) | |
| CategoryStream (Category *rt_category, log4cpp::Priority::Value priority) | |
| void | flush () |
| void | flush () |
| template<typename T > | |
| CategoryStream & | operator<< (const T &t) |
| template<typename T > | |
| CategoryStream & | operator<< (const T &t) |
| virtual | ~CategoryStream () |
| virtual | ~CategoryStream () |
Private Attributes | |
| Category * | _category |
| log4cpp::Priority::Value | _priority |
| RTT::rt_ostringstream | oss |
Definition at line 13 of file install/include/orocos/ocl/CategoryStream.hpp.
| OCL::logging::CategoryStream::CategoryStream | ( | Category * | rt_category, | |
| log4cpp::Priority::Value | priority | |||
| ) |
Construct a CategoryStream for given Category with given priority.
| category | The category this stream will send log messages to. | |
| priority | The priority the log messages will get or Priority::NOTSET to silently discard any streamed in messages. |
Definition at line 5 of file CategoryStream.cpp.
| OCL::logging::CategoryStream::CategoryStream | ( | const CategoryStream & | rhs | ) |
Copy-constructor needed because the output string stream can't be copied. We rater have to copy the underlying (real-time) string.
| rhs | The CategoryStream to copy from |
Definition at line 30 of file CategoryStream.cpp.
| OCL::logging::CategoryStream::~CategoryStream | ( | ) | [virtual] |
Destructor for CategoryStream
Definition at line 12 of file CategoryStream.cpp.
| OCL::logging::CategoryStream::CategoryStream | ( | Category * | rt_category, | |
| log4cpp::Priority::Value | priority | |||
| ) |
Construct a CategoryStream for given Category with given priority.
| category | The category this stream will send log messages to. | |
| priority | The priority the log messages will get or Priority::NOTSET to silently discard any streamed in messages. |
| OCL::logging::CategoryStream::CategoryStream | ( | const CategoryStream & | rhs | ) |
Copy-constructor needed because the output string stream can't be copied. We rater have to copy the underlying (real-time) string.
| rhs | The CategoryStream to copy from |
| virtual OCL::logging::CategoryStream::~CategoryStream | ( | ) | [virtual] |
Destructor for CategoryStream
| void OCL::logging::CategoryStream::flush | ( | ) |
Flush the contents of the stream buffer to the Category and empties the buffer.
| void OCL::logging::CategoryStream::flush | ( | ) |
Flush the contents of the stream buffer to the Category and empties the buffer.
Definition at line 17 of file CategoryStream.cpp.
| CategoryStream& OCL::logging::CategoryStream::operator<< | ( | const T & | t | ) | [inline] |
Stream in arbitrary types and objects.
| t | The value or object to stream in. |
Definition at line 48 of file logging/CategoryStream.hpp.
| CategoryStream& OCL::logging::CategoryStream::operator<< | ( | const T & | t | ) | [inline] |
Stream in arbitrary types and objects.
| t | The value or object to stream in. |
Definition at line 48 of file install/include/orocos/ocl/CategoryStream.hpp.
Category * OCL::logging::CategoryStream::_category [private] |
Definition at line 59 of file install/include/orocos/ocl/CategoryStream.hpp.
log4cpp::Priority::Value OCL::logging::CategoryStream::_priority [private] |
Definition at line 60 of file install/include/orocos/ocl/CategoryStream.hpp.
RTT::rt_ostringstream OCL::logging::CategoryStream::oss [private] |
Definition at line 61 of file install/include/orocos/ocl/CategoryStream.hpp.