Module: OroGen::Gen::RTT_CPP::InputPortGeneration
- Defined in:
- lib/orogen/gen/tasks.rb
Overview
Module that is used to add code generation functionality to Spec::InputPort
Instance Method Summary collapse
-
#orocos_class ⇒ Object
Returns the name of the RTT class for this port (i.e. one of ReadDataPort, WriteDataPort, DataPort, ReadBufferPort, …).
- #register_for_generation ⇒ Object
Instance Method Details
#orocos_class ⇒ Object
Returns the name of the RTT class for this port (i.e. one of ReadDataPort, WriteDataPort, DataPort, ReadBufferPort, …)
171 |
# File 'lib/orogen/gen/tasks.rb', line 171 def orocos_class; "RTT::InputPort" end |
#register_for_generation ⇒ Object
173 174 175 176 177 178 |
# File 'lib/orogen/gen/tasks.rb', line 173 def register_for_generation super if !@do_not_clean task.in_base_hook('start', "_#{name}.clear();") end end |