12#error This is a C++ include file and cannot be used from plain C
24#define ngcdcsAOCAL_MEDIAN 1
25#define ngcdcsAOCAL_MEAN 2
30#define ngcdcsAOCAL_MINPIX 40
60 void Exit(
int status);
181 char targetFile_[256];
196 int NumPix_() {
return (nx_ * ny_);}
217 void Copy_(
ngcdcs_ao_t *target,
void *source,
int dataType);
220 void Bias_(
ngcdcs_ao_t *target,
void *source,
int dataType);
229 int Calibrate_(
int gain);
232 void Path_(
char *path,
int size,
const char *fileName,
const char *dir=NULL);
258 if (sys.
ctrl == NULL)
260 strcpy(
ErrMsg(),
"no controller instance");
263 if (sscanf(desc,
"aocal%10d", &
id) < 1)
id = 1;
266 sprintf(
ErrMsg(),
"AO camera instance out of range [1,%d]",
Definition ngcbPARAM.hpp:200
Definition ngcdcsAOCAL.hpp:246
ngcdcsEXPDRV * Make(const char *desc, const ngcdcs_system_t &sys, const ngcb_fb_t &fb)
Creator.
Definition ngcdcsAOCAL.hpp:255
virtual ~ngcdcsAOCAL_FACTORY()
Destructor.
Definition ngcdcsAOCAL.hpp:252
ngcdcsAOCAL_FACTORY()
Constructor.
Definition ngcdcsAOCAL.hpp:249
Definition ngcdcsAOCAL.hpp:41
ngcdcsAOCAL(ngcdcsAO *module, const ngcb_fb_t &fb)
Constructor with associated AO camera module and feed-back channel.
Definition ngcdcsAOCAL.cpp:37
virtual ~ngcdcsAOCAL()
Destructor.
Definition ngcdcsAOCAL.cpp:47
int Configure(ngcbPARAM_LIST *cfg)
Configuration call-back.
Definition ngcdcsAOCAL.cpp:188
void Exit(int status)
Exposure sequence termination call-back.
Definition ngcdcsAOCAL.cpp:572
void CfgStatus(ngcbPARAM_LIST *cfg)
Configuration status call-back.
Definition ngcdcsAOCAL.cpp:501
int Process(void *buffer, ngcdcs_finfo_t *finfo)
Processing call-back.
Definition ngcdcsAOCAL.cpp:787
int Exec()
Execution block.
Definition ngcdcsAOCAL.cpp:615
Definition ngcdcsAO.hpp:311
ngcdcsAO * ao[ngcdcsCTRL_MAX_AO]
AO cameras.
Definition ngcdcsCTRL.hpp:124
int numAoMod
Number of AO cameras.
Definition ngcdcsCTRL.hpp:127
Definition ngcdcsEXPDRV.hpp:30
ngcdcsEXPDRV(const ngcb_fb_t &fb)
Constructor with feed-back channel.
Definition ngcdcsEXPDRV.hpp:54
ngcdcsFACTORY(const char *s)
Constructor.
Definition ngcdcsFACTORY.hpp:63
char * ErrMsg()
Error message.
Definition ngcdcsFACTORY.hpp:87
float ngcdcs_ao_t
Definition ngcdcsAOCAL.hpp:35
ngcdcsAOCAL_FACTORY ngcdcsAoCal
Definition ngcdcsAOCAL.cpp:31
Definition ngcbSTREAM.hpp:27
Definition ngcdcsFINFO.hpp:462
Definition ngcdcsFACTORY.hpp:22
ngcdcsCTRL * ctrl
Controller.
Definition ngcdcsFACTORY.hpp:24