00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef MARSYAS_PLOTSINK_H
00020 #define MARSYAS_PLOTSINK_H
00021
00022 #include "MarSystem.h"
00023
00024 namespace Marsyas
00025 {
00054 class PlotSink: public MarSystem
00055 {
00056 private:
00057 mrs_natural counter_;
00058
00059 MarControlPtr ctrl_messages_;
00060 MarControlPtr ctrl_separator_;
00061 MarControlPtr ctrl_sequence_;
00062 MarControlPtr ctrl_filename_;
00063 MarControlPtr ctrl_matlab_;
00064 MarControlPtr ctrl_matlabCommand_;
00065
00066 void addControls();
00067
00068 public:
00069 PlotSink(std::string name);
00070 PlotSink(const PlotSink& a);
00071 ~PlotSink();
00072
00073 MarSystem* clone() const;
00074
00075 void myProcess(realvec& in, realvec& out);
00076 };
00077
00078 }
00079
00080
00081 #endif
00082
00083
00084
00085
00086
00087
00088
00089