class Syskit::Actions::Profile::RobotDefinition

Robot definition class inside a profile

It is subclassed so that we can invalidate the cached dependency injection object whenever the robot gets modified

Attributes

profile[R]

@return [Profile] the profile object this robot definition is

part of

Public Class Methods

new(profile) click to toggle source
Calls superclass method Syskit::Robot::RobotDefinition.new
# File lib/syskit/actions/profile.rb, line 175
def initialize(profile)
    @profile = profile
    super()
end

Public Instance Methods

invalidate_dependency_injection() click to toggle source
# File lib/syskit/actions/profile.rb, line 180
def invalidate_dependency_injection
    super
    profile.invalidate_dependency_injection
end
to_s() click to toggle source
# File lib/syskit/actions/profile.rb, line 185
def to_s
    "#{profile.name}.robot"
end