ngc 1.5.0
 
Loading...
Searching...
No Matches
ngcdcsEXP_TEST Class Reference
Inheritance diagram for ngcdcsEXP_TEST:
ngcdcsEXPDRV ngcbOBJ

Public Member Functions

 ngcdcsEXP_TEST (const ngcb_fb_t &fb)
 Constructor.
 
 ~ngcdcsEXP_TEST ()
 Destructor.
 
- Public Member Functions inherited from ngcdcsEXPDRV
 ngcdcsEXPDRV (const ngcb_fb_t &fb)
 Constructor with feed-back channel.
 
virtual ~ngcdcsEXPDRV ()
 Destructor.
 
int Initialized ()
 Return initialization flag.
 
FILE * FeedBackStream ()
 Return feed-back stream.
 
int ImgProcessor ()
 Return image-processor flag.
 
virtual int Configure (ngcbPARAM_LIST *cfg)
 Configuration call-back.
 
void GetCfg (ngcbPARAM_LIST *cfg)
 Get current configuration.
 
int Active ()
 Return active flag.
 
int NewSetup ()
 New setup available.
 
void Init ()
 Initiate exposure sequence.
 
int Next ()
 Execute next step in the exposure sequence.
 
void Terminate (int status=0)
 Terminate the exposure sequence.
 
int Delay ()
 Get delay (milliseconds) to be applied before next exposure.
 
virtual int Process (void *buffer, ngcdcs_finfo_t *finfo)
 Processing call-back.
 
virtual int MergeFits (ngcbFITS *hdr)
 FITS-header completion call-back.
 
- Public Member Functions inherited from ngcbOBJ
 ngcbOBJ ()
 Constructor.
 
virtual ~ngcbOBJ ()
 Destructor.
 
void Instance (int n)
 Set instance.
 
int Instance ()
 Get instance.
 
const char * Major ()
 Instance major number.
 
int BigEndian ()
 Big-endian architecture.
 
int LittleEndian ()
 Little-endian architecture.
 
virtual char * ErrMsg ()
 Error message.
 
virtual int Success ()
 Return success.
 
virtual int Failure ()
 Return failure.
 
void CfgPath (const char *path)
 Set external configuration path.
 

Protected Member Functions

int Exec ()
 Execution block.
 
void Exit (int status)
 Exposure sequence exit function.
 
- Protected Member Functions inherited from ngcdcsEXPDRV
void Initialized (int flag)
 Set initialization flag.
 
void ImgProcessorOn ()
 Connect image-processor to all exposures.
 
void Delay (int ms)
 Set a delay (milliseconds) to be applied before next exposure.
 
int Status (const char *paramName, char *value)
 Get status value of a system parameter.
 
virtual void CfgStatus (ngcbPARAM_LIST *cfg)
 Configuration status call-back.
 
void SendFeedBack (const char *msg)
 Feed-back function.
 
- Protected Member Functions inherited from ngcbOBJ
virtual int BailOut (const char *pos)
 Log code position of the error and bail-out with failure.
 
virtual void Verbose (int level, const char *format,...) __attribute__((format(printf
 Verbose message if verbose level exceeds level.
 
virtual void virtual void Verbose (const char *format,...) __attribute__((format(printf
 Verbose message.
 
virtual void virtual void virtual void Log (int level, const char *format,...) __attribute__((format(printf
 Log message if logging level exceeds level.
 
virtual void virtual void virtual void virtual void Log (const char *format,...) __attribute__((format(printf
 Log message.
 
virtual void virtual void virtual void virtual void virtual void ErrLog (int severity, const char *format,...) __attribute__((format(printf
 Error log, severity is one of ngcbWARNING, ngcbFAILURE and ngcbERR_SEVERE.
 
virtual void virtual void virtual void virtual void virtual void void FeedBack (const char *format,...) __attribute__((format(printf
 Feed-back function.
 
const char * CfgPath ()
 Get external configuration path.
 
int CfgPath (char *path, const char *cfgFile)
 Compose path for configuratuion file.
 
int KeyVal (const char *key, float *value)
 Get single precision floating point value from keyword string.
 
int KeyVal (const char *key, double *value)
 Get double precision floating point value from keyword string.
 
int KeyVal (const char *key, int *value)
 Get 32-bit signed integer value from decimal keyword string.
 
int KeyVal (const char *key, unsigned int *value)
 Get 32-bit unsigned integer value from decimal keyword string.
 
int KeyValHex (const char *key, int *value)
 Get 32-bit signed integer value from hexadecimal keyword string.
 
int KeyValHex (const char *key, unsigned int *value)
 Get 32-bit unsigned integer value from hexadecimal keyword string.
 
int KeyValFmt (const char *key, int *value)
 Get 32-bit signed integer value from string.
 
int KeyValFmt (const char *key, unsigned int *value)
 Get 32-bit unsigned integer value from string.
 
int KeyValFrac (const char *key, unsigned int n, uint64_t *v1, uint64_t *v2)
 Fraction after n digits.
 
void CleanupCmd (char *cmdLine, int *cmdLen)
 Clean command string (remove extra spaces etc.)
 
int ReplaceParam (char *string)
 Replace parameter in string.
 

Additional Inherited Members

- Public Attributes inherited from ngcdcsEXPDRV
char name [64]
 Exposure driver name.
 
int state
 State variable.
 
int acqId
 Associated acquisition module id.
 
unsigned int expId
 Exposure id.
 
ngcbPARAM_LIST setupList
 Setup parameter list.
 
ngcbPARAM_LISTparamList
 Global parameter list.
 
ngcbFITS fits
 Driver specific FITS-header.
 
- Public Attributes inherited from ngcbOBJ
FILE * watchdog
 Watchdog stream.
 
ngcbALARM_SYSalarmSystem
 Alarm system.
 
ngcbSERVICEservices
 System services.
 
int verboseLevel
 Verbose level.
 
int logLevel
 Logging level.
 
int xterm
 Xterm flag.
 
int debugPort
 Debug port.
 
int ignoreErr
 Ignore next error (do not log)
 
int type
 Object type.
 

Detailed Description

Exposure driver test class

Constructor & Destructor Documentation

◆ ngcdcsEXP_TEST()

ngcdcsEXP_TEST::ngcdcsEXP_TEST ( const ngcb_fb_t & fb)
inlineexplicit

Constructor.

◆ ~ngcdcsEXP_TEST()

ngcdcsEXP_TEST::~ngcdcsEXP_TEST ( )
inline

Destructor.

Member Function Documentation

◆ Exec()

int ngcdcsEXP_TEST::Exec ( )
inlineprotectedvirtual

Execution block.

Reimplemented from ngcdcsEXPDRV.

◆ Exit()

void ngcdcsEXP_TEST::Exit ( int status)
inlineprotectedvirtual

Exposure sequence exit function.

Reimplemented from ngcdcsEXPDRV.


The documentation for this class was generated from the following file: