Go to the documentation of this file.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 Consumer::Consumer(std::string const& name, RTT::ExecutionEngine* engine, TaskCore::TaskState initial_state)
00009 : ConsumerBase(name, engine, initial_state) {}
00010
00011
00012
00013
00014
00015
00016
00018
00019
00020
00021
00022
00023
00024 void Consumer::updateHook()
00025 {
00026 NotOrogenCompatible::Point2D point;
00027 if (_point.read(point))
00028 *io << "[" << point.x() << " " << point.y() << "] " << flush;
00029 else
00030 *io << "[U] " << flush;
00031 }
00032
00033
00034
00035
00036