Class: Syskit::DRoby::V5::TypelibTypeDumper::DRoby
- Defined in:
- lib/syskit/droby/v5/droby_dump.rb
Overview
Marshalling representation of a typelib value
Instance Attribute Summary collapse
-
#byte_array ⇒ Object
readonly
Returns the value of attribute byte_array.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(byte_array, type) ⇒ DRoby
constructor
A new instance of DRoby.
- #proxy(peer) ⇒ Object
Constructor Details
#initialize(byte_array, type) ⇒ DRoby
Returns a new instance of DRoby
125 126 127 |
# File 'lib/syskit/droby/v5/droby_dump.rb', line 125 def initialize(byte_array, type) @byte_array, @type = byte_array, type end |
Instance Attribute Details
#byte_array ⇒ Object (readonly)
Returns the value of attribute byte_array
123 124 125 |
# File 'lib/syskit/droby/v5/droby_dump.rb', line 123 def byte_array @byte_array end |
#type ⇒ Object (readonly)
Returns the value of attribute type
124 125 126 |
# File 'lib/syskit/droby/v5/droby_dump.rb', line 124 def type @type end |
Instance Method Details
#proxy(peer) ⇒ Object
128 129 130 |
# File 'lib/syskit/droby/v5/droby_dump.rb', line 128 def proxy(peer) peer.local_object(type).from_buffer(byte_array) end |