Class: Roby::RemoteObjectProxy
Overview
An augmented DRbObject which allow to properly interface with remotely running plan objects.
Instance Attribute Summary collapse
Instance Method Summary
collapse
Methods inherited from DRbObject
#remote_id
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(*args, &block) ⇒ Object
73
74
75
76
77
78
79
|
# File 'lib/roby/interface.rb', line 73
def method_missing(*args, &block)
if remote_interface
remote_interface.call(self, *args, &block)
else
super
end
end
|
Instance Attribute Details
#remote_interface ⇒ Object
Returns the value of attribute remote_interface.
63
64
65
|
# File 'lib/roby/interface.rb', line 63
def remote_interface
@remote_interface
end
|
Instance Method Details
#__method_missing__ ⇒ Object
72
|
# File 'lib/roby/interface.rb', line 72
alias __method_missing__ method_missing
|
#pretty_print(pp) ⇒ Object
68
69
70
|
# File 'lib/roby/interface.rb', line 68
def pretty_print(pp)
pp.text to_s
end
|
65
66
67
|
# File 'lib/roby/interface.rb', line 65
def to_s
__method_missing__(:to_s)
end
|