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

Instance Method Details

#orocos_classObject

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_generationObject



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