Task.hpp
Go to the documentation of this file.
00001 /* Generated from orogen/lib/orogen/templates/tasks/Task.hpp */
00002 
00003 #ifndef <%= component.name.upcase %>_<%= task.basename.upcase %>_TASK_HPP
00004 #define <%= component.name.upcase %>_<%= task.basename.upcase %>_TASK_HPP
00005 
00006 #include "<%= component.name.downcase %>/<%= task.basename %>Base.hpp"
00007 
00008 namespace <%= component.name %> {
00009 
00024     class <%= task.basename %> : public <%= task.basename %>Base
00025     {
00026         friend class <%= task.basename %>Base;
00027     protected:
00028 
00029 <%= task.self_user_methods.sort_by(&:name).
00030     map { |m| m.with_indent(8, :declaration) }.
00031     compact.join("\n") %>
00032 
00033     public:
00038         <%= task.basename %>(std::string const& name = "<%= task.name %>"<%= ", TaskCore::TaskState initial_state = Stopped" unless task.fixed_initial_state? %>);
00039 
00045         <%= task.basename %>(std::string const& name, RTT::ExecutionEngine* engine<%= ", TaskCore::TaskState initial_state = Stopped" unless task.fixed_initial_state? %>);
00046 
00049         ~<%= task.basename %>();
00050 
00065         // bool configureHook();
00066 
00072         // bool startHook();
00073 
00088         // void updateHook();
00089 
00096         // void errorHook();
00097 
00101         // void stopHook();
00102 
00107         // void cleanupHook();
00108     };
00109 }
00110 
00111 #endif
00112 


orogen
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Mon Oct 6 2014 03:17:29