class Roby::DRoby::V5::Queries::LocalizedErrorMatcherDumper::DRoby

An intermediate representation of OrMatcher objects suitable to be sent to our peers.

Attributes

failure_point_matcher[R]
model[R]

Public Class Methods

new(model, failure_point_matcher) click to toggle source
# File lib/roby/droby/v5/droby_dump.rb, line 883
def initialize(model, failure_point_matcher)
    @model = model
    @failure_point_matcher = failure_point_matcher
end

Public Instance Methods

proxy(peer) click to toggle source
# File lib/roby/droby/v5/droby_dump.rb, line 887
def proxy(peer)
    matcher = Roby::Queries::LocalizedErrorMatcher.new
    matcher.with_model(peer.local_model(model))
    matcher.with_origin(peer.local_object(failure_point_matcher))
    matcher
end