X2 Standard  Version 1.24
Public Member Functions | List of all members
NoShutterInterface Class Referenceabstract

The NoShutterInterface allows camera drivers to report to TheSkyX if a camera does not have a shutter, primarily for use in the acquisition of dark frames. More...

#include <noshutterinterface.h>

Public Member Functions

virtual int CCHasShutter (const enumCameraIndex &Camera, const enumWhichCCD &CCDOrig, bool &bHasShutter)=0
 

Detailed Description

The NoShutterInterface allows camera drivers to report to TheSkyX if a camera does not have a shutter, primarily for use in the acquisition of dark frames.

This interface is optional. By default, TheSkyX assumes a camera has a shutter and if that is true this interface isn't important. The NoShutterInterface allows camera drivers to report to TheSkyX if a camera does not have a shutter. Camera drivers implementing this interface and returning 'false' for bHasShutter when queried for shutter will cause TheSkyX to prompt the user to manually cover their telescope for all dark frames.

The NoShutterInterface can even return true for bHasShutter allowing for unified code for single x2 drivers that support multiple camera models, with and without shutters.

Don't forget to respond accordingly in your queryAbstraction().

Member Function Documentation

◆ CCHasShutter()

virtual int NoShutterInterface::CCHasShutter ( const enumCameraIndex &  Camera,
const enumWhichCCD &  CCDOrig,
bool &  bHasShutter 
)
pure virtual

TheSkyX calls this function to query the driver reguarding the existance of its controlled camera's shutter.


The documentation for this class was generated from the following file:
X2 Examples
(C) Software Bisque, Inc. All rights reserved.