1 #include "CategoryStream.hpp" 2 #include "Category.hpp" 8 _category(rt_category),
21 _category->log(_priority, oss.str());
33 _category(rhs._category),
34 _priority(rhs._priority)
37 (*this).oss.str(rhs.oss.str());
CategoryStream(Category *rt_category, log4cpp::Priority::Value priority)
Construct a CategoryStream for given Category with given priority.
This is a utility class which you can use to stream messages into a category object.
virtual ~CategoryStream()
Destructor for CategoryStream which also flushes any remaining data to the Category object...
The Orocos Component Library.
A real-time capable category.
void flush()
Flush the contents of the stream buffer to the Category and empties the buffer.