EEROS  0.4.1.0
API for the EEROS Real-Time Robotics Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
LogWriter.hpp
Go to the documentation of this file.
1 #ifndef ORG_EEROS_LOGGER_LOGWRITER_HPP_
2 #define ORG_EEROS_LOGGER_LOGWRITER_HPP_
3 
5 #include <string>
6 
7 namespace eeros
8 {
9  namespace logger
10  {
11  class LogWriter : public Writer
12  {
13  public:
14  virtual ~LogWriter() { }
15  virtual void endl() = 0;
16  virtual LogWriter& operator<<(int value) = 0;
17  virtual LogWriter& operator<<(unsigned int value) = 0;
18  virtual LogWriter& operator<<(long value) = 0;
19  virtual LogWriter& operator<<(double value) = 0;
20  virtual LogWriter& operator<<(const std::string& value) = 0;
21  virtual LogWriter& operator<<(std::ostream& os) = 0;
22  virtual LogWriter& operator<<(void (*f)(LogWriter&)) = 0;
23  };
24 
25  void endl(LogWriter& w);
26  }
27 }
28 
29 #endif /* ORG_EEROS_LOGGER_LOGWRITER_HPP_ */
virtual LogWriter & operator<<(int value)=0
virtual void endl()=0
Definition: Writer.hpp:8
virtual ~LogWriter()
Definition: LogWriter.hpp:14
void endl(LogWriter &w)
Definition: RecordWriter.hpp:19
Definition: LogWriter.hpp:11