DeployerComponent.cpp
Go to the documentation of this file.
00001 #include <rtt/Component.hpp>
00002 
00003 <% deployable_tasks = project.self_tasks.find_all { |t| !t.abstract? } %>
00004 <% deployable_tasks.each do |task| %>
00005 #include <<%= project.name.downcase %>/<%= task.basename %>.hpp>
00006 <% end %>
00007 
00008 ORO_CREATE_COMPONENT_TYPE();
00009 <% deployable_tasks.each do |task| %>
00010 ORO_LIST_COMPONENT_TYPE( <%= task.name %> );
00011 <% end %>
00012 
00013 namespace orogen
00014 {
00015 <% deployable_tasks.each do |task| %>
00016     RTT::TaskContext* create_<%= task.name.gsub(/[^\w]/, '_') %>(std::string const& instance_name)
00017     {
00018         return new <%= task.name %>(instance_name);
00019     }
00020 <% end %>
00021 }


orogen
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Sat Jun 8 2019 19:52:17