TaskStates.hpp
Go to the documentation of this file.
00001 /* Generated from orogen/lib/orogen/templates/tasks/TaskStates.hpp */
00002 
00003 #ifndef <%= component.name %>_TASKS_STATES
00004 #define <%= component.name %>_TASKS_STATES
00005 
00006 namespace <%= component.name %>
00007 {
00008     <% component.self_tasks.
00009         find_all(&:extended_state_support?).
00010 
00011         each do |task| %>
00012     enum <%= task.state_type_name %>
00013     {
00014         <% states = task.each_state.to_a
00015            states.each_with_index do |(state_name, state_type), i| %>
00016             <%= task.state_global_value_name(state_name, state_type) %><%= ',' if i != states.size - 1 %>
00017         <% end %>
00018     };
00019     <% end %>
00020 }
00021 
00022 #endif
00023 


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