Photomechanics API
Photomechanics.Photo3DStudio.TurntableControl.DeviceDiscovery.Services.Interfaces.ITurntableManagerService Interface Reference

Searches for turntable and instantiates API. More...

Inheritance diagram for Photomechanics.Photo3DStudio.TurntableControl.DeviceDiscovery.Services.Interfaces.ITurntableManagerService:
[legend]

Public Member Functions

Task SearchForDevicesAsync ()
 Try to find turntable and instantiate it's API and set Api. More...
 
void StartMonitoringDevices ()
 Begin periodic search for connected turn tables. More...
 

Properties

ITurntableApi Api [get]
 Turn table API. null if no device is connected. More...
 
TimeSpan DevicesDiscoveryInterval [get, set]
 Devices polling interval. More...
 

Events

TypedEventHandler< ITurntableManagerServiceTurntableApiChanged
 Occurs when Api is changed. More...
 

Detailed Description

Searches for turntable and instantiates API.

Member Function Documentation

◆ SearchForDevicesAsync()

Task Photomechanics.Photo3DStudio.TurntableControl.DeviceDiscovery.Services.Interfaces.ITurntableManagerService.SearchForDevicesAsync ( )

Try to find turntable and instantiate it's API and set Api.

Implemented in Photomechanics.Photo3DStudio.TurntableControl.DeviceDiscovery.Services.TurntableManagerService.

◆ StartMonitoringDevices()

void Photomechanics.Photo3DStudio.TurntableControl.DeviceDiscovery.Services.Interfaces.ITurntableManagerService.StartMonitoringDevices ( )

Begin periodic search for connected turn tables.

Implemented in Photomechanics.Photo3DStudio.TurntableControl.DeviceDiscovery.Services.TurntableManagerService.

Property Documentation

◆ Api

ITurntableApi Photomechanics.Photo3DStudio.TurntableControl.DeviceDiscovery.Services.Interfaces.ITurntableManagerService.Api
get

Turn table API. null if no device is connected.

◆ DevicesDiscoveryInterval

TimeSpan Photomechanics.Photo3DStudio.TurntableControl.DeviceDiscovery.Services.Interfaces.ITurntableManagerService.DevicesDiscoveryInterval
getset

Devices polling interval.

Event Documentation

◆ TurntableApiChanged

TypedEventHandler<ITurntableManagerService> Photomechanics.Photo3DStudio.TurntableControl.DeviceDiscovery.Services.Interfaces.ITurntableManagerService.TurntableApiChanged

Occurs when Api is changed.

May (and usually will) not be invoked from the main thread.