Class: T2Flow::ProcessorLinks

Inherits:
Object
  • Object
show all
Defined in:
lib/t2flow/model/processor.rb

Overview

This object is returned after invoking model.get_processor_links(processor) . The object contains two lists of processors. Each element consists of: the input or output port the processor uses as a link, the name of the processor being linked, and the port of the processor used for the linking, all seperated by a colon (:) i.e.

my_port:name_of_processor:processor_port

Instance Attribute Summary collapse

Instance Attribute Details

#sinksObject

A list of processors that are fed the output from the processor (used in model.get_processors_linked_to(processor) ) as input.



95
96
97
# File 'lib/t2flow/model/processor.rb', line 95

def sinks
  @sinks
end

#sourcesObject

The processors whose output is fed as input into the processor used in model.get_processors_linked_to(processor).



91
92
93
# File 'lib/t2flow/model/processor.rb', line 91

def sources
  @sources
end