EEROS  0.4.1.0
API for the EEROS Real-Time Robotics Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
RecordWriter.hpp
Go to the documentation of this file.
1 #ifndef ORG_EEROS_LOGGER_RECORDWRITER_HPP_
2 #define ORG_EEROS_LOGGER_RECORDWRITER_HPP_
3 
5 
6 namespace eeros
7 {
8  namespace logger
9  {
10  template < typename TRecord >
11  class RecordWriter : public Writer
12  {
13  public:
14  virtual ~RecordWriter() { }
15  virtual void endl() = 0;
16  virtual LogWriter& operator <<(TRecord r) = 0;
17  };
18 
19  void endl(LogWriter& w) { w.endl(); }
20  }
21 }
22 
23 #endif /* ORG_EEROS_LOGGER_RECORDWRITER_HPP_ */
virtual LogWriter & operator<<(TRecord r)=0
virtual void endl()=0
Definition: Writer.hpp:8
virtual ~RecordWriter()
Definition: RecordWriter.hpp:14
void endl(LogWriter &w)
Definition: RecordWriter.hpp:19
Definition: RecordWriter.hpp:11
Definition: LogWriter.hpp:11