X2 Standard  Version 1.24
preexposuretaskinterface.h
1 #ifndef _PreExposureTaskInterface_H
2 #define _PreExposureTaskInterface_H
3 
4 #define PreExposureTaskInterface_Name "com.bisque.TheSkyX.PreExposureTaskInterface/1.0"
5 
32 {
33 public:
34 
35  virtual ~PreExposureTaskInterface(){}
36 
37 public:
38  //PreExposureTaskInterface
39 
40  /* These functions provide status text for Type (1) pre-exposure tasks that take place BEFORE CCStartExposure is called. */
41 
43  virtual int CCGetBlockingPreExposureTaskCount(const enumCameraIndex& Camera, const enumWhichCCD& CCDOrig, int &nCount)=0;
44 
46  virtual int CCGetBlockingPreExposureTaskInfo(const enumCameraIndex& Camera, const enumWhichCCD& CCDOrig, const int nIndex, BasicStringInterface &sName)=0;
47 
49  virtual int CCExecuteBlockingPreExposureTask(const enumCameraIndex& Camera, const enumWhichCCD& CCDOrig, const int nIndex)=0;
50 
51  /* These functions provide status text for Type (2) pre-exposure tasks that take place AFTER CCStartExposure is called */
52 
54  virtual int CCGetPreExposureTaskCount(const enumCameraIndex& Camera, const enumWhichCCD& CCDOrig, int &nCount)=0;
55 
57  virtual int CCGetPreExposureTaskInfo(const enumCameraIndex& Camera, const enumWhichCCD& CCDOrig, const int nIndex, double &dDuration, BasicStringInterface &sName)=0;
58 
59  /*For cameras that also implement ExtendedCameraInterface, this function will be called to let the camera know which additional argument index will be used
60  Cameras without this interface may leave the provided default implementation as-is*/
61  virtual int CCSetAdditionalArgInterface(const enumCameraIndex& Camera, const enumWhichCCD& CCDOrig, const int &nIndex) { return 0 /*SB_OK*/; }
62 };
63 
64 #endif
PreExposureTaskInterface::CCGetPreExposureTaskInfo
virtual int CCGetPreExposureTaskInfo(const enumCameraIndex &Camera, const enumWhichCCD &CCDOrig, const int nIndex, double &dDuration, BasicStringInterface &sName)=0
PreExposureTaskInterface::CCGetPreExposureTaskCount
virtual int CCGetPreExposureTaskCount(const enumCameraIndex &Camera, const enumWhichCCD &CCDOrig, int &nCount)=0
PreExposureTaskInterface::CCExecuteBlockingPreExposureTask
virtual int CCExecuteBlockingPreExposureTask(const enumCameraIndex &Camera, const enumWhichCCD &CCDOrig, const int nIndex)=0
PreExposureTaskInterface::CCGetBlockingPreExposureTaskInfo
virtual int CCGetBlockingPreExposureTaskInfo(const enumCameraIndex &Camera, const enumWhichCCD &CCDOrig, const int nIndex, BasicStringInterface &sName)=0
PreExposureTaskInterface
The PreExposureTaskInterface gives cameras a way to inform TheSkyX when executing CameraDriverInterfa...
Definition: preexposuretaskinterface.h:32
BasicStringInterface
The BasicStringInterface allows a string as an output.
Definition: basicstringinterface.h:17
PreExposureTaskInterface::CCGetBlockingPreExposureTaskCount
virtual int CCGetBlockingPreExposureTaskCount(const enumCameraIndex &Camera, const enumWhichCCD &CCDOrig, int &nCount)=0
X2 Examples
(C) Software Bisque, Inc. All rights reserved.