Revert "Started experimenting with perl/python scripts to auto rename incl guards...
[aesalon.git] / include / vcomm / DataSink.h
blob7445b05fc78bd6ff107a73a86d25542afa13be62
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/DataSink.h
12 #ifndef AesalonMonitor_VCommunication_DataSink_H
13 #define AesalonMonitor_VCommunication_DataSink_H
15 #include "common/VPacket.h"
17 namespace Monitor {
18 namespace VCommunication {
20 class DataSink {
21 public:
22 /** "Sink" a packet, e.g. process it in whatever manner the implementation can.
23 @param packet The packet to sink.
25 virtual void sinkPacket(Common::VPacket *packet) = 0;
28 } // namespace VCommunication
29 } // namespace Monitor
31 #endif