![]() |
DLAPI 4.1.1.0
An API for controlling Aluma branded cameras
|
Top-level namespace containing all of DLAPI. More...
Namespaces | |
| namespace | ErrorFlags |
| Contains Error flags/masks for a variety of peripherals/devices, as reported by the camera. | |
| namespace | PulseGuideStatus |
| Status flags for the pulse guide port. | |
| namespace | V1 |
| namespace | V2 |
Classes | |
| class | IAO |
| AO Interface Class. More... | |
| class | ICamera |
| Camera interface class. More... | |
| class | IDebugControl |
| An abstract interface that gives users access to debug logging controls \seealso IGateway, getGateway() If Debug logging is supported, the IGateway pointer returned from getGateway() will inheritt from IDebugControl as well. You can check to see whether the version of DLAPI being used by your application supports these features using a dynamic cast: More... | |
| class | IFW |
| FW Interface Class. More... | |
| class | IFWExtended |
| class | IGateway |
| Gateway object for controlling device discovery, and lifetime management. More... | |
| class | IImage |
| Interface to an DLAPI Image buffer. More... | |
| class | IImageExt |
| class | IPromise |
| Promise interface class. More... | |
| class | ISensor |
| Sensor Interface Class. More... | |
| class | ITEC |
| TEC interface class. More... | |
| struct | TConnectionDetails |
| Network connection detail structure. More... | |
| struct | TExposureOptions |
| A collection of exposure parameters required for starting an exposure. More... | |
| struct | TImageMetadata |
| A collection of metadata associated with an image. More... | |
| struct | TLayerMetadata |
| struct | TNetworkSettings |
| A collection of wireless network configuration settings. More... | |
| struct | TSubframe |
| A collection of frame parameters, required for specifying the dimensions of an image. More... | |
Typedefs | |
| using | FilterType = EFilterType |
| typedef IImage * | IImagePtr |
| Convenience typedef for IImage pointers. | |
| typedef IImageExt * | IImageExtPtr |
| typedef IPromise * | IPromisePtr |
| Convenience typedef for IPromise pointers. | |
| typedef ITEC * | ITECPtr |
| Convenience typedef for ITEC pointers. | |
| typedef IAO * | IAOPtr |
| Convenience typedef for IAO pointers. | |
| typedef IFW * | IFWPtr |
| Convenience typedef for IFW pointers. | |
| typedef IFWExtended * | IFWExtendedPtr |
| typedef ISensor * | ISensorPtr |
| Convenience typedef for ISensor pointers. | |
| typedef ICamera * | ICameraPtr |
| Convenience typedef for ICamera pointers. | |
| typedef IGateway * | IGatewayPtr |
| Convenience typedef for IGateway pointers. | |
Functions | |
| DL_API IGatewayPtr MYCDECL | getGateway () |
| Returns a pointer to an instance of a Gateway object, or (if one exists) return the existing pointer to it. | |
| DL_API void MYCDECL | deleteGateway (IGatewayPtr) |
| Decrement the internal count of IGateway pointers supplied, and delete the active IGateway instance when it is no longer in use. | |
Top-level namespace containing all of DLAPI.
The dl namespace contains all the interface and utility definitions you will need while controlling a DLAPI compliant camera. Classes prefixed with a capital "I" (such as IGateway, ICamera, or IImage) represent abstract interface classes that are instantiated by DLAPI. They are grouped by function:
Interface classes all have convenience pointer typedefs (e.g. ICameraPtr is ICamera*), to ease readability.
In addition to the interface classes, there are a number of different parametrization and data structures both contained within interfaces (such as the ICamera::Info structure), and without (such as the TExposureOptions structure). These structures are used to transport large data structures to and from the API, and provides some degree of structure and modularity to the API.
| using dl::FilterType = EFilterType |
| typedef IAO* dl::IAOPtr |
Convenience typedef for IAO pointers.
| typedef ICamera* dl::ICameraPtr |
Convenience typedef for ICamera pointers.
| typedef IFWExtended* dl::IFWExtendedPtr |
| typedef IFW* dl::IFWPtr |
Convenience typedef for IFW pointers.
| typedef IGateway* dl::IGatewayPtr |
Convenience typedef for IGateway pointers.
| typedef IImageExt* dl::IImageExtPtr |
| typedef IImage* dl::IImagePtr |
Convenience typedef for IImage pointers.
| typedef IPromise* dl::IPromisePtr |
Convenience typedef for IPromise pointers.
| typedef ISensor* dl::ISensorPtr |
Convenience typedef for ISensor pointers.
| typedef ITEC* dl::ITECPtr |
Convenience typedef for ITEC pointers.
| enum dl::EEndpointType |
Camera's connection endpoint type (networked, USB, etc)
| enum dl::EFilterType |
| Enumerator | |
|---|---|
| Monochrome | Monochrome filter on sensor. |
| Color | Bayer color filter on sensor. |
| SparseColor | TrueSense Sparse Color filter on sensor. |
| InvalidFilterType | Filter type is invalid or uninitialized. |
| enum dl::EFrameType |
Sensor's readout frame typeid.
| enum dl::ENetworkMode |
Network Connection type/security for WiFi operation.
| Enumerator | |
|---|---|
| AdHoc | Use an ad-hoc network. More details coming. |
| Open | Connect to an open network specified via ICamera::setNetworkSettings(), retrieved using ICamera::getNetworkSettings(). |
| WEP | Connect to a WEP secured network specified via ICamera::setNetworkSettings(), retrieved using ICamera::getNetworkSettings(). |
| WPA | Connect to a WPA 1 secured network specified via ICamera::setNetworkSettings(), retrieved using ICamera::getNetworkSettings(). |
| WPA2 | Connect to a WPA 2 secured network specified via ICamera::setNetworkSettings(), retrieved using ICamera::getNetworkSettings(). |
| InvalidNetworkMode | Network mode is either invalid, or uninitialized. |
| enum dl::EShutterStatus |
Status of sensor's shutter.
| enum dl::EStatusCode |
Status codes returned by a camera with every message response.
| DL_API void MYCDECL dl::deleteGateway | ( | IGatewayPtr | ) |
Decrement the internal count of IGateway pointers supplied, and delete the active IGateway instance when it is no longer in use.
| IGatewayPtr | a pointer to an IGateway object to delete. |
This function tracks usage counts of getGateway(), and deletes the singleton instance of IGateway when the last instance is released.
| DL_API IGatewayPtr MYCDECL dl::getGateway | ( | ) |
Returns a pointer to an instance of a Gateway object, or (if one exists) return the existing pointer to it.
This function provides the user with the singleton instance of the DLAPI IGateway for the process. Use this function to gain access to all DLAPI devices. Minimize the number of calls to this function if at all possible. It is not necessary to keep an IGateway instance active throughout the lifetime of your application, but you should avoid creating gateways at call sites. Keep the gateway instances alive throughout the scope of all communications with the API. All calls to dl::getGateway() should be accompanied by a call to dl::deleteGateway().
An easy way to ensure this occurs is to create a smart pointer with a custom deleter that handles this cleanup.