Class: Twib::Switch::Debug::Event::AttachProcess
- Defined in:
- lib/twib/switch/debug.rb
Constant Summary collapse
- TYPE =
0
Instance Attribute Summary collapse
-
#mmu_flags ⇒ Object
readonly
Returns the value of attribute mmu_flags.
-
#process_id ⇒ Object
readonly
Returns the value of attribute process_id.
-
#process_name ⇒ Object
readonly
Returns the value of attribute process_name.
-
#title_id ⇒ Object
readonly
Returns the value of attribute title_id.
Attributes inherited from Event
Instance Method Summary collapse
Methods inherited from Event
Constructor Details
This class inherits a constructor from Twib::Switch::Debug::Event::Event
Instance Attribute Details
#mmu_flags ⇒ Object (readonly)
Returns the value of attribute mmu_flags.
40 41 42 |
# File 'lib/twib/switch/debug.rb', line 40 def mmu_flags @mmu_flags end |
#process_id ⇒ Object (readonly)
Returns the value of attribute process_id.
40 41 42 |
# File 'lib/twib/switch/debug.rb', line 40 def process_id @process_id end |
#process_name ⇒ Object (readonly)
Returns the value of attribute process_name.
40 41 42 |
# File 'lib/twib/switch/debug.rb', line 40 def process_name @process_name end |
#title_id ⇒ Object (readonly)
Returns the value of attribute title_id.
40 41 42 |
# File 'lib/twib/switch/debug.rb', line 40 def title_id @title_id end |
Instance Method Details
#event_type ⇒ Object
37 38 39 |
# File 'lib/twib/switch/debug.rb', line 37 def event_type :attach_process end |
#unpack_specific(pack) ⇒ Object
34 35 36 |
# File 'lib/twib/switch/debug.rb', line 34 def unpack_specific(pack) @title_id, @process_id, @process_name, @mmu_flags = pack.unpack("Q<Q<Z12L<") end |