TaskStates.hpp
Go to the documentation of this file.
00001 /* Generated from orogen/lib/orogen/templates/tasks/TaskStates.hpp */
00002 
00003 #ifndef <%= project.name %>_TASKS_STATES
00004 #define <%= project.name %>_TASKS_STATES
00005 
00006 namespace <%= project.name %>
00007 {
00008     <% project.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 Sat Jun 8 2019 19:52:17