class Syskit::NetworkGeneration::PortDynamics::Trigger
Attributes
hash[R]
name[R]
period[R]
sample_count[R]
Public Class Methods
new(name, period, sample_count)
click to toggle source
# File lib/syskit/network_generation/dataflow_dynamics.rb, line 62 def initialize(name, period, sample_count) @name, @period, @sample_count = name.to_str, period, sample_count @hash = [@name, @period, @sample_count].hash freeze end
Public Instance Methods
==(other)
click to toggle source
# File lib/syskit/network_generation/dataflow_dynamics.rb, line 73 def ==(other) eql?(other) end
eql?(other)
click to toggle source
# File lib/syskit/network_generation/dataflow_dynamics.rb, line 68 def eql?(other) @period == other.period && @name == other.name && @sample_count == other.sample_count end