Go to the documentation of this file.00001 #ifndef DATA_CONSUMER_TASK_HPP
00002 #define DATA_CONSUMER_TASK_HPP
00003
00004 #include "data/ConsumerBase.hpp"
00005 #include <iosfwd>
00006
00007 namespace data {
00008 class Consumer : public ConsumerBase
00009 {
00010 friend class ConsumerBase;
00011 protected:
00012 std::ostream* outfile;
00013
00014 public:
00015 Consumer(std::string const& name = "data::Consumer", TaskCore::TaskState initial_state = Stopped);
00016
00030
00031
00037 bool startHook();
00038
00058 void updateHook();
00059
00060
00067
00068
00072 void stopHook();
00073
00078
00079
00080
00081
00082 };
00083 }
00084
00085 #endif
00086