I am beginning to question the need for a marshaller.
[aesalon.git] / include / monitor / LogOutput.h
bloba803dce20c06a9b72906381c6687bfbdd4072d10
1 /** Aesalon, a tool to visualize program behaviour in real time.
2 Copyright (C) 2009-2011, Aesalon development team.
4 Aesalon is distributed under the terms of the GNU GPLv3. See
5 the included file LICENSE for more information.
7 @file include/monitor/LogOutput.h
8 */
10 #ifndef AesalonMonitor_LogOutput_H
11 #define AesalonMonitor_LogOutput_H
13 #include <string>
14 #include <semaphore.h>
16 #include "DataOutput.h"
18 namespace Monitor {
20 class LogOutput : public DataOutput {
21 private:
22 int m_fd;
23 sem_t m_logSemaphore;
24 public:
25 LogOutput(std::string spec);
26 virtual ~LogOutput();
28 virtual void output(Comm::Packet *packet);
31 } // namespace Monitor
33 #endif