Module: Roby::Distributed::TaskArgumentsNotifications
- Defined in:
- lib/roby/distributed/notifications.rb
Overview
This module defines the hooks required by dRoby on Roby::TaskArguments
Instance Method Summary collapse
-
#updated ⇒ Object
Hook called when the task argumensts are modified.
Instance Method Details
#updated ⇒ Object
Hook called when the task argumensts are modified. It sends the PeerServer#updated_arguments message.
489 490 491 492 493 494 495 496 497 |
# File 'lib/roby/distributed/notifications.rb', line 489 def updated super if defined? super unless Distributed.updating?(task) Distributed.each_updated_peer(task) do |peer| peer.transmit(:updated_arguments, task, task.arguments) end end end |