Started experimenting with perl/python scripts to auto rename incl guards etc.
[aesalon.git] / include / vcomm / GeneralSink.h
blobc5613eb8a981ab023b39e988dc1aad08f5fdbfaa
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/vcomm/GeneralSink.h
12 #ifndef AesalonVComm_GeneralSink_H
13 #define AesalonVComm_GeneralSink_H
15 #include <list>
17 #include "DataSink.h"
19 namespace VComm {
21 class GeneralSink : public DataSink {
22 private:
23 typedef std::list<DataSink *> DataSinkList;
24 DataSinkList m_dataSinkList;
25 public:
26 GeneralSink();
27 virtual ~GeneralSink();
29 void addDataSink(DataSink *dataSink);
31 virtual void sinkPacket(Common::VPacket *packet);
34 } // namespace VComm
36 #endif