Class: T2Flow::ProcessorLinks

Inherits:
Object
  • Object
show all
Defined in:
lib/t2flow/model.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.



312
313
314
# File 'lib/t2flow/model.rb', line 312

def sinks
  @sinks
end

#sourcesObject

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



308
309
310
# File 'lib/t2flow/model.rb', line 308

def sources
  @sources
end