Consumer.cpp
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 // hooks defined by Orocos::RTT. See Consumer.hpp for more detailed
00019 // documentation about them.
00020 
00021 // bool Consumer::configureHook() { return true; }
00022 // bool Consumer::startHook() { return true; }
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 // void Consumer::errorHook() {}
00034 // void Consumer::stopHook() {}
00035 // void Consumer::cleanupHook() {}
00036 


orogen
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Wed Sep 16 2015 10:36:40