$search
00001 /* Generated from orogen/lib/orogen/templates/tasks/Task.cpp */ 00002 00003 #include "<%= task.basename %>.hpp" 00004 00005 using namespace <%= task.component.name %>; 00006 00007 <%= task.basename %>::<%= task.basename %>(std::string const& name<%= ", TaskCore::TaskState initial_state" unless task.fixed_initial_state? %>) 00008 : <%= task.basename %>Base(name<%= ", initial_state" unless task.fixed_initial_state? %>) 00009 { 00010 } 00011 00012 <%= task.basename %>::<%= task.basename %>(std::string const& name, RTT::ExecutionEngine* engine<%= ", TaskCore::TaskState initial_state" unless task.fixed_initial_state? %>) 00013 : <%= task.basename %>Base(name, engine<%= ", initial_state" unless task.fixed_initial_state? %>) 00014 { 00015 } 00016 00017 <%= task.basename %>::~<%= task.basename %>() 00018 { 00019 } 00020 00021 <%= task.self_user_methods.sort_by(&:name). 00022 map { |m| m.with_indent(0, :definition) }. 00023 compact.join("\n") %> 00024 00026 // hooks defined by Orocos::RTT. See <%= task.basename %>.hpp for more detailed 00027 // documentation about them. 00028 00029 // bool <%= task.basename %>::configureHook() 00030 // { 00031 // if (! <%= task.basename %>Base::configureHook()) 00032 // return false; 00033 // return true; 00034 // } 00035 // bool <%= task.basename %>::startHook() 00036 // { 00037 // if (! <%= task.basename %>Base::startHook()) 00038 // return false; 00039 // return true; 00040 // } 00041 // void <%= task.basename %>::updateHook() 00042 // { 00043 // <%= task.basename %>Base::updateHook(); 00044 // } 00045 // void <%= task.basename %>::errorHook() 00046 // { 00047 // <%= task.basename %>Base::errorHook(); 00048 // } 00049 // void <%= task.basename %>::stopHook() 00050 // { 00051 // <%= task.basename %>Base::stopHook(); 00052 // } 00053 // void <%= task.basename %>::cleanupHook() 00054 // { 00055 // <%= task.basename %>Base::cleanupHook(); 00056 // } 00057