00001 #include "Consumer.hpp"
00002
00003 using namespace cross_deployment;
00004 using namespace std;
00005
00006 Consumer::Consumer(std::string const& name, TaskCore::TaskState initial_state)
00007 : ConsumerBase(name, initial_state) {}
00008
00009
00010
00011
00012
00013
00014
00016
00017
00018
00019
00020
00021
00022 void Consumer::updateHook()
00023 {
00024 NotOrogenCompatible::Point2D point;
00025 if (_point.read(point))
00026 *io << "[" << point.x() << " " << point.y() << "] " << flush;
00027 else
00028 *io << "[U] " << flush;
00029 }
00030
00031
00032
00033
00034