Consumer.cpp
Go to the documentation of this file.
00001 #include "Consumer.hpp"
00002 #include <fstream>
00003 
00004 using namespace cross_consumer;
00005 
00006 Consumer::Consumer(std::string const& name, TaskCore::TaskState initial_state)
00007     : ConsumerBase(name, initial_state)
00008 {
00009     io = new std::ofstream("cross_dependencies.txt");
00010 }
00011 
00012 Consumer::Consumer(std::string const& name, RTT::ExecutionEngine* engine, TaskCore::TaskState initial_state)
00013     : ConsumerBase(name, engine, initial_state)
00014 {
00015     io = new std::ofstream("cross_dependencies.txt");
00016 }
00017 
00019 // hooks defined by Orocos::RTT. See Consumer.hpp for more detailed
00020 // documentation about them.
00021 
00022 // bool Consumer::configureHook() { return true; }
00023 // bool Consumer::startHook() { return true; }
00024 // void Consumer::errorHook() {}
00025 // void Consumer::stopHook() {}
00026 // void Consumer::cleanupHook() {}
00027 


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