|
Photomechanics API
|
Represents high level device API. More...
Public Member Functions | |
| Task | Initialize () |
| Initialize connection with device. More... | |
| TComponent | GetComponent< TComponent > () |
| Get component of given type. More... | |
Additional Inherited Members | |
Properties inherited from IAsyncDisposableExtended | |
| Boolean | IsDisposed [get] |
| Determines whether the object is being disposed or already disposed and no longer functional. More... | |
| ILogger | Logger [get] |
| Logger associated with this instance. This way extension methods can use logging without requiring it as parameter. More... | |
Events inherited from IAsyncDisposableExtended | |
| AsyncTypedEventHandler< IAsyncDisposableExtended > | Disposed |
| Occurs when object is disposed. It should be invoked at the end of IAsyncDisposable.DisposeAsync implementation in a Fire-and-Forget fashion (non-blocking). | |
Represents high level device API.
Delegates actual functionality to API components. Concrete API feature set is formed by provided components.
| Task IComponentBasedDeviceApi.Initialize | ( | ) |
Initialize connection with device.
API will self-dispose at this stage if unable to establish connection for some reason.
Implemented in ComponentBasedDeviceApiBase.
| TComponent IComponentBasedDeviceApi.GetComponent< TComponent > | ( | ) |
Get component of given type.
| TComponent | Type of the component to search. |
null if API does not provide component of TComponent type. Implemented in ComponentBasedDeviceApiBase.
| TComponent | : | class | |
| TComponent | : | IDeviceApiComponent |