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
20 namespace VCommunication
{
22 class GeneralSink
: public DataSink
{
24 typedef std::list
<DataSink
*> DataSinkList
;
25 DataSinkList m_dataSinkList
;
28 virtual ~GeneralSink();
30 void addDataSink(DataSink
*dataSink
);
32 virtual void sinkPacket(Common::VPacket
*packet
);
35 } // namespace VCommunication
36 } // namespace Monitor