/ fm / liveswitch / DoubleHolder
Class: DoubleHolder
fm.liveswitch.DoubleHolder
Class to hold a double value passed by reference.
Table of contents
Constructors
Methods
Constructors
constructor
+ new DoubleHolder(): DoubleHolder
Initializes a new instance of the [[fm.liveswitch.doubleHolder]] class.
Returns: DoubleHolder
Defined in: Generated/TypeScript/fm.liveswitch/DoubleHolder.ts:18
+ new DoubleHolder(value
: number): DoubleHolder
Initializes a new instance of the [[fm.liveswitch.doubleHolder]] class.
Parameters:
Name | Type | Description |
---|---|---|
value |
number | The value. |
Returns: DoubleHolder
Defined in: Generated/TypeScript/fm.liveswitch/DoubleHolder.ts:24
Methods
fmliveswitchDoubleHolderInit
▸ Private
fmliveswitchDoubleHolderInit(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/DoubleHolder.ts:15
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/DoubleHolder.ts:9
getValue
▸ getValue(): number
Gets the value.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/DoubleHolder.ts:54
setValue
▸ setValue(value
: number): void
Sets the value.
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/DoubleHolder.ts:66