00001 #ifndef OUTPUT_H
00002 #define OUTPUT_H
00003
00004 #include <list>
00005 #include <iostream>
00006
00007 using namespace std;
00008
00009 namespace seemicro
00010 {
00011
00012 struct OutputModule
00013 {
00014 virtual void output(bool keyframe)
00015 {
00016 #ifdef DEBUG
00017 cerr << "OutputModule::output(bool);\n";
00018 #endif
00019 };
00020
00021 void registerMe(std::list<OutputModule*>& l)
00022 {
00023 #ifdef DEBUG
00024 cerr << "Registering this...";
00025 #endif
00026 l.push_back(this);
00027 }
00028
00029 virtual ~OutputModule() {};
00030 };
00031
00032 }
00033
00034 #endif