Started to implement the DataOutput system, a replacement for DataSink.
[aesalon.git] / include / monitor / DataOutputController.h
blob6f54151639fd7145aa3f0af1a045d57647261646
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/DataOutputController.h
8 */
10 #ifndef AesalonMonitor_DataOutputController_H
11 #define AesalonMonitor_DataOutputController_H
13 #include <vector>
14 #include <string>
16 #include "DataOutput.h"
18 namespace Monitor {
20 class DataOutputController {
21 protected:
22 typedef std::vector<DataOutput *> DataOutputVector;
23 private:
24 DataOutputVector m_dataOutputVector;
25 public:
26 DataOutputController();
27 ~DataOutputController();
29 void output(Comm::Packet *packet);
30 private:
31 DataOutput *createOutput(const std::string &spec);
34 } // namespace Monitor
36 #endif