class Orocos::RobyPlugin::AmbiguousServiceMapping

Exception raised in composition instanciations if a selected component model provides multipe services that fullfills a child’s model

Attributes

child_name[R]
composition_model[R]

Public Class Methods

new(composition_model, child_name, task_model, required_service, candidates) click to toggle source
# File lib/orocos/roby/exceptions.rb, line 172
def initialize(composition_model, child_name, task_model, required_service, candidates)
    super(task_model, required_service, candidates)
    @composition_model, @child_name =
        composition_model, child_name
end

Public Instance Methods

pretty_print(pp) click to toggle source
# File lib/orocos/roby/exceptions.rb, line 178
def pretty_print(pp)
    pp.text "while trying to fullfill the constraints on the child #{child_name} of #{composition_model.short_name}"
    pp.breakable
    super
end