module OroGen::Gen::RTT_CPP::InputPortGeneration

Module that is used to add code generation functionality to Spec::InputPort

Public Instance Methods

orocos_class() click to toggle source

Returns the name of the RTT class for this port (i.e. one of ReadDataPort, WriteDataPort, DataPort, ReadBufferPort, …)

# File lib/orogen/gen/tasks.rb, line 171
def orocos_class; "RTT::InputPort" end
register_for_generation() click to toggle source
Calls superclass method
# 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