Module: Roby::Distributed::TaskNotifications
- Included in:
- Task
- Defined in:
- lib/roby/distributed/notifications.rb
Overview
This module defines the hooks required by dRoby on Roby::Task
Instance Method Summary collapse
-
#updated_data ⇒ Object
Hook called when the internal task data is modified.
Instance Method Details
#updated_data ⇒ Object
Hook called when the internal task data is modified. It sends PeerServer#updated_data
473 474 475 476 477 478 479 480 481 |
# File 'lib/roby/distributed/notifications.rb', line 473 def updated_data super if defined? super unless Distributed.updating?(self) Distributed.each_updated_peer(self) do |peer| peer.transmit(:updated_data, self, data) end end end |