Continued refactoring, moving around code.
[aesalon.git] / include / vcomm / GeneralSink.h
blob950c707d5eaf6e7ac17c18c34701cda125835e5c
1 /**
2 Aesalon, a tool to visualize a program's behaviour at run-time.
3 Copyright (C) 2010, Aesalon Development Team.
5 Aesalon is distributed under the terms of the GNU GPLv3. For more
6 licensing information, see the file LICENSE included with the distribution.
8 @file include/monitor/vcommunication/GeneralSink.h
12 #ifndef AesalonMonitor_VCommunication_GeneralSink_H
13 #define AesalonMonitor_VCommunication_GeneralSink_H
15 #include <list>
17 #include "DataSink.h"
19 namespace Monitor {
20 namespace VCommunication {
22 class GeneralSink : public DataSink {
23 private:
24 typedef std::list<DataSink *> DataSinkList;
25 DataSinkList m_dataSinkList;
26 public:
27 GeneralSink();
28 virtual ~GeneralSink();
30 void addDataSink(DataSink *dataSink);
32 virtual void sinkPacket(Common::VPacket *packet);
35 } // namespace VCommunication
36 } // namespace Monitor
38 #endif