class ActiveVlc::Pipeline

Attributes

input[R]
sout[R]

Public Class Methods

new(input_array_or_string = nil, &block) click to toggle source
Calls superclass method ActiveVlc::Parametric::new
# File lib/activevlc/pipeline.rb, line 24
def initialize(input_array_or_string = nil, &block)
  super()
  @input = Stage::Input.new(input_array_or_string)
  @sout = Stage::Stream.new # SOut = Stream Out

  ::ActiveVlc::DSL::Stream.new(@sout).instance_eval(&block) if block_given?
end

Public Instance Methods

dump() click to toggle source
# File lib/activevlc/pipeline.rb, line 46
def dump
  "ActiveVlc: Dumping pipeline internal representation\n" + _dump
end
fragment() click to toggle source
# File lib/activevlc/pipeline.rb, line 32
def fragment
  [@input.fragment, @sout.fragment].join ' '
end
has_missing_parameter?() click to toggle source
# File lib/activevlc/pipeline.rb, line 41
def has_missing_parameter?
  @sout.has_missing_parameter?
end
params(params)
Alias for: visit
visit(params) click to toggle source
# File lib/activevlc/pipeline.rb, line 36
def visit(params)
  @parameters.merge!(params)
  @sout.visit(@parameters)
end
Also aliased as: params