Class: DSP::Module
Overview
interface Module {
/** Unique identifier for the module. */
id: number | string;
/** A name of the module. */
name: string;
/** optional but recommended attributes.
always try to use these first before introducing additional attributes.
Logical full path to the module. The exact definition is implementation defined, but usually this would be a full path to the on-disk file for the module.
*/
path?: string;
/** True if the module is optimized. */
isOptimized?: boolean;
/** True if the module is considered 'user code' by a debugger that supports 'Just My Code'. */
isUserCode?: boolean;
/** Version of Module. */
version?: string;
/** User understandable description of if symbols were found for the module (ex: 'Symbols Loaded', 'Symbols not found', etc. */
symbolStatus?: string;
/** Logical full path to the symbol file. The exact definition is implementation defined. */
symbolFilePath?: string;
/** Module created or modified. */
dateTimeStamp?: string;
/** Address range covered by this module. */
addressRange?: string;
}
Instance Attribute Summary collapse
-
#addressRange ⇒ Object
type: number | string # type: string # type: string # type: boolean # type: boolean # type: string # type: string # type: string # type: string # type: string.
-
#dateTimeStamp ⇒ Object
type: number | string # type: string # type: string # type: boolean # type: boolean # type: string # type: string # type: string # type: string # type: string.
-
#id ⇒ Object
type: number | string # type: string # type: string # type: boolean # type: boolean # type: string # type: string # type: string # type: string # type: string.
-
#isOptimized ⇒ Object
type: number | string # type: string # type: string # type: boolean # type: boolean # type: string # type: string # type: string # type: string # type: string.
-
#isUserCode ⇒ Object
type: number | string # type: string # type: string # type: boolean # type: boolean # type: string # type: string # type: string # type: string # type: string.
-
#name ⇒ Object
type: number | string # type: string # type: string # type: boolean # type: boolean # type: string # type: string # type: string # type: string # type: string.
-
#path ⇒ Object
type: number | string # type: string # type: string # type: boolean # type: boolean # type: string # type: string # type: string # type: string # type: string.
-
#symbolFilePath ⇒ Object
type: number | string # type: string # type: string # type: boolean # type: boolean # type: string # type: string # type: string # type: string # type: string.
-
#symbolStatus ⇒ Object
type: number | string # type: string # type: string # type: boolean # type: boolean # type: string # type: string # type: string # type: string # type: string.
-
#version ⇒ Object
type: number | string # type: string # type: string # type: boolean # type: boolean # type: string # type: string # type: string # type: string # type: string.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ Module
constructor
A new instance of Module.
Methods inherited from DSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ Module
Returns a new instance of Module.
3794 3795 3796 3797 |
# File 'lib/dsp/dsp_protocol.rb', line 3794 def initialize(initial_hash = nil) super @optional_method_names = %i[path isOptimized isUserCode version symbolStatus symbolFilePath dateTimeStamp addressRange] end |
Instance Attribute Details
#addressRange ⇒ Object
type: number | string # type: string # type: string # type: boolean # type: boolean # type: string # type: string # type: string # type: string # type: string
3792 3793 3794 |
# File 'lib/dsp/dsp_protocol.rb', line 3792 def addressRange @addressRange end |
#dateTimeStamp ⇒ Object
type: number | string # type: string # type: string # type: boolean # type: boolean # type: string # type: string # type: string # type: string # type: string
3792 3793 3794 |
# File 'lib/dsp/dsp_protocol.rb', line 3792 def dateTimeStamp @dateTimeStamp end |
#id ⇒ Object
type: number | string # type: string # type: string # type: boolean # type: boolean # type: string # type: string # type: string # type: string # type: string
3792 3793 3794 |
# File 'lib/dsp/dsp_protocol.rb', line 3792 def id @id end |
#isOptimized ⇒ Object
type: number | string # type: string # type: string # type: boolean # type: boolean # type: string # type: string # type: string # type: string # type: string
3792 3793 3794 |
# File 'lib/dsp/dsp_protocol.rb', line 3792 def isOptimized @isOptimized end |
#isUserCode ⇒ Object
type: number | string # type: string # type: string # type: boolean # type: boolean # type: string # type: string # type: string # type: string # type: string
3792 3793 3794 |
# File 'lib/dsp/dsp_protocol.rb', line 3792 def isUserCode @isUserCode end |
#name ⇒ Object
type: number | string # type: string # type: string # type: boolean # type: boolean # type: string # type: string # type: string # type: string # type: string
3792 3793 3794 |
# File 'lib/dsp/dsp_protocol.rb', line 3792 def name @name end |
#path ⇒ Object
type: number | string # type: string # type: string # type: boolean # type: boolean # type: string # type: string # type: string # type: string # type: string
3792 3793 3794 |
# File 'lib/dsp/dsp_protocol.rb', line 3792 def path @path end |
#symbolFilePath ⇒ Object
type: number | string # type: string # type: string # type: boolean # type: boolean # type: string # type: string # type: string # type: string # type: string
3792 3793 3794 |
# File 'lib/dsp/dsp_protocol.rb', line 3792 def symbolFilePath @symbolFilePath end |
#symbolStatus ⇒ Object
type: number | string # type: string # type: string # type: boolean # type: boolean # type: string # type: string # type: string # type: string # type: string
3792 3793 3794 |
# File 'lib/dsp/dsp_protocol.rb', line 3792 def symbolStatus @symbolStatus end |
#version ⇒ Object
type: number | string # type: string # type: string # type: boolean # type: boolean # type: string # type: string # type: string # type: string # type: string
3792 3793 3794 |
# File 'lib/dsp/dsp_protocol.rb', line 3792 def version @version end |
Instance Method Details
#from_h!(value) ⇒ Object
3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 |
# File 'lib/dsp/dsp_protocol.rb', line 3799 def from_h!(value) value = {} if value.nil? self.id = value['id'] # Unknown type self.name = value['name'] self.path = value['path'] self.isOptimized = value['isOptimized'] # Unknown type self.isUserCode = value['isUserCode'] # Unknown type self.version = value['version'] self.symbolStatus = value['symbolStatus'] self.symbolFilePath = value['symbolFilePath'] self.dateTimeStamp = value['dateTimeStamp'] self.addressRange = value['addressRange'] self end |