/ fm / liveswitch / ManagedStopwatch
Class: ManagedStopwatch
fm.liveswitch.ManagedStopwatch
Table of contents
Constructors
Properties
Methods
Constructors
constructor
+ new ManagedStopwatch(): ManagedStopwatch
Returns: ManagedStopwatch
Properties
startTime
• Private
startTime: number= 0
Defined in: Generated/TypeScript/fm.liveswitch/ManagedStopwatch.ts:12
stopTime
• Private
stopTime: number= 0
Defined in: Generated/TypeScript/fm.liveswitch/ManagedStopwatch.ts:13
Methods
getElapsedMilliseconds
▸ getElapsedMilliseconds(): number
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/ManagedStopwatch.ts:24
getElapsedTicks
▸ getElapsedTicks(): number
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/ManagedStopwatch.ts:20
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/ManagedStopwatch.ts:3
restart
▸ restart(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/ManagedStopwatch.ts:45
start
▸ start(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/ManagedStopwatch.ts:36
stop
▸ stop(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/ManagedStopwatch.ts:41
dispatch
▸ Static
dispatch(action
: IAction0): void
Parameters:
Name | Type |
---|---|
action |
IAction0 |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/ManagedStopwatch.ts:6
getTimestamp
▸ Static
getTimestamp(): number
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/ManagedStopwatch.ts:15