/ fm / liveswitch / ManagedStopwatch
Class: ManagedStopwatch
fm.liveswitch.ManagedStopwatch
Table of contents
Constructors
Properties
Methods
- getElapsedMilliseconds
- getElapsedTicks
- getTypeString
- restart
- start
- stop
- dispatch
- getTimestamp
- getTimestampMillis
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:29
getElapsedTicks
▸ getElapsedTicks(): number
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/ManagedStopwatch.ts:25
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:50
start
▸ start(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/ManagedStopwatch.ts:41
stop
▸ stop(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/ManagedStopwatch.ts:46
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
getTimestampMillis
▸ Static
getTimestampMillis(): number
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/ManagedStopwatch.ts:20