class Roby::DRoby::V5::PlanObjectDumper::DRoby
Attributes
model[R]
The model for this plan object
plan_id[R]
The droby_id of this object's plan
Public Class Methods
new(remote_siblings, owners, model, plan_id)
click to toggle source
Create a DRoby
object with the given information
@see DistributedObject::DRoby
Calls superclass method
Roby::DRoby::V5::DistributedObjectDumper::DRoby::new
# File lib/roby/droby/v5/droby_dump.rb, line 299 def initialize(remote_siblings, owners, model, plan_id) super(remote_siblings, owners) @model, @plan_id = model, plan_id end
Public Instance Methods
local_plan(peer)
click to toggle source
# File lib/roby/droby/v5/droby_dump.rb, line 304 def local_plan(peer) if plan_id peer.local_plan(plan_id) else TemplatePlan.new end end