module Roby::EventStructure::SchedulingConstraints::Extension
Public Instance Methods
has_scheduling_constraints?()
click to toggle source
True if this event is constrained by the TemporalConstraints
relation in any way
# File lib/roby/event_structure/temporal_constraints.rb, line 354 def has_scheduling_constraints? return true if has_temporal_constraints? each_backward_scheduling_constraint do |parent| return true end false end
schedule_as(event)
click to toggle source
# File lib/roby/event_structure/temporal_constraints.rb, line 348 def schedule_as(event) event.add_forward_scheduling_constraint(self) end