Class: Scufl::ProcessorLinks

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



249
250
251
# File 'lib/scufl/model.rb', line 249

def sinks
  @sinks
end

#sourcesObject

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



245
246
247
# File 'lib/scufl/model.rb', line 245

def sources
  @sources
end