Photomechanics API
Photomechanics.Photo3DStudio.TurntableControl.TurntableCommandBase Class Reference

Base class for ITurntableCommand, implements common functionality. More...

Inheritance diagram for Photomechanics.Photo3DStudio.TurntableControl.TurntableCommandBase:
[legend]

Public Member Functions

void Dispose ()
 
async Task WaitEnterProcessingStateAsync ()
 Wait for command to enter TurntableCommandStatus.Processing state asynchronously. Processing state means that turntable accepted command, started executing it and will return Success status later on. Used for lengthy processes (i.e. rotation commands).
 
async Task WaitFinishAsync ()
 Wait for command to finish asynchronously.
 

Protected Member Functions

 TurntableCommandBase ()
 

Properties

Stopwatch RunningTimeStopwatch [get]
 Stopwatch that is started when command created. More...
 
TurntableCommandStatusStatus [get, protected set]
 
- Properties inherited from Photomechanics.Photo3DStudio.TurntableControl.Interfaces.ITurntableCommand
TurntableCommandStatus Status [get]
 Command status. More...
 

Events

TypedEventHandler< ITurntableCommand, TurntableCommandStatusStatusChanged
 
- Events inherited from Photomechanics.Photo3DStudio.TurntableControl.Interfaces.ITurntableCommand
TypedEventHandler< ITurntableCommand, TurntableCommandStatusStatusChanged
 Occurs when command execution is finished. More...
 

Detailed Description

Base class for ITurntableCommand, implements common functionality.

Property Documentation

◆ RunningTimeStopwatch

Stopwatch Photomechanics.Photo3DStudio.TurntableControl.TurntableCommandBase.RunningTimeStopwatch
get

Stopwatch that is started when command created.