#include <ngcdcsEXP.hpp>
Public Member Functions | |
| ngcdcsEXP & | operator= (const ngcdcsEXP &other) |
| Operator =. | |
| ngcdcsEXP (const ngcdcsEXP &other) | |
| Copy constructor. | |
| ngcdcsEXP () | |
| Constructor. | |
| virtual | ~ngcdcsEXP () |
| Destructor. | |
| void | SetFdIn (int f) |
| Set incoming file descriptor. | |
| void | SetFdOut (int f) |
| Set outgoing file descriptor. | |
| void | ResetFd () |
| Reset in/out file descriptors. | |
| int | StatusFdIn () |
| Get incoming file descriptor. | |
| int | StatusFdOut () |
| Get outgoing file descriptor. | |
| int | Active () |
| Check if exposure is active. | |
| void | Lock () |
| Lock access to exposure handler. | |
| void | Unlock () |
| Unlock access to exposure handler. | |
| void | ResetInstLock () |
| Reset synchronous instance locking. | |
| void | InitInstLock (int n) |
| Initialize synchronous instance locking. | |
| void | Lock (int inst) |
| Synchronous instance lock with defined order. | |
| void | Unlock (int inst) |
| Synchronous instance unlock with defined order. | |
| void | Release () |
| Release exposure handler locking. | |
| void | Attach (int inst) |
| Add instance to instance-management lists. | |
| void | Detach () |
| Remove all instances from instance-management lists. | |
| void | Detach (int inst) |
| Remove instance from instance-management lists. | |
| int | LastTransfer (int inst) |
| Check if the given instance is in last-transfer state. | |
| int | LastTransfer () |
| Check if all attached (active) instances are in last-transfer state. | |
| int | Attached () |
| int | Aborted () |
| int | IssueEvt (ngcdcs_expevt_t evt) |
| Issue status event. | |
| int | RecvEvt (ngcdcs_expevt_t *evt) |
| Receive status event. | |
| int | WaitApplLocked () |
| Wait until application is locked. | |
| void | ApplLocked () |
| Signal that application is locked. | |
| void | ApplRelease () |
| Release application lock. | |
| void | ApplClear () |
| Clear application lock. | |
| int | ApplCancelled () |
| Check if application lock was cancelled. | |
| int | ApplSkip () |
| Skip locking message. | |
| char * | ErrMsg () |
| Return a pointer to the actual error message. | |
| int | Format (const char *name) |
| Set exposure data file format (as string) | |
| int | Format (int newFormat) |
| Set exposure data file format. | |
| int | Format () |
| Return exposure file format. | |
| const char * | FormatName () |
| Return exposure file format name. | |
| const char * | FormatNameELT () |
| Return exposure file format name (ELT) | |
| int | Naming (int newNaming) |
| Set naming scheme. | |
| int | Naming () |
| Return naming scheme. | |
| int | DataPath (const char *path) |
| Set data path. | |
| char * | DataPath () |
| Return data path. | |
| int | BaseName (const char *name) |
| Set exposure base name. | |
| const char * | BaseName () |
| Get exposure base name. | |
| void | AssignUUID (const char *value) |
| Assign UUID. | |
| const char * | Path () |
| Get full path to base name. | |
| const char * | TmpPath () |
| Get tmp-file path. | |
| int | NextIndex () |
| Create next exposure sequence index. | |
| void | StatStr (char *s) |
| Get status string. | |
| void | Stat2Str (char *s, unsigned int stat) |
| Map status to string. | |
| void | ExpStartTime (struct timeval &timeVal) |
| Set exposure start time. | |
| const char * | ExpStartTime () |
| Get exposure start time (string) | |
| double | ExpStartTimeMJD () |
| Get exposure start time (MJD) | |
| double | ExpStartTimeUTC () |
| Get exposure start time (UTC seconds since midnight) | |
| void | TimeStamp () |
| Generate exposure start time-stamp. | |
| void | DrvStatus (unsigned int stat) |
| Update exposure sequence driver status. | |
| void | EndFlag (int flag) |
| Set/clear end-flag. | |
| int | EndFlag () |
| Get end-flag. | |
Public Attributes | |
| int | extFits |
| Flag for extended FITS header. | |
| int | numExtBlocks |
| Number of extension header blocks to be reserved. | |
| int | sequenceNumber |
| Sequence number. | |
| int | oneFile |
| All in one file ("Extension" format only) | |
| int | instLock |
| Lock instances for guaranteed order. | |
| int | split |
| Split glued images into extensions. | |
| char | fileName [512] |
| Common file name for this file. | |
| FILE * | fd |
| Shared file descriptor. | |
| FILE * | fdList |
| List file descriptor. | |
| int | nopen |
| Counts how many objects access this file. | |
| int | merge |
| Merge flag. | |
| ngcbFITS | fits |
| FITS-keyword object. | |
| ngcbFITS | appHdr |
| FITS-keyword object for application specific extension. | |
| unsigned int | status |
| Exposure status. | |
| unsigned int | statusSaved |
| Saved exposure status. | |
| int | format |
| Data file format. | |
| int | naming |
| Naming scheme. | |
| int | time |
| Estimation for exposure time. | |
| char | baseName [256] |
| Base name. | |
| char | lastName [256+16] |
| Last base name incl. sequence number. | |
| char | id [64] |
| Recording ID. | |
| char | uuid [48] |
| Unique ID. | |
| int | rev |
| Exposure handling revision. | |
| double | integrationTime |
| Integration time (for FITS header EXPTIME) | |
| int | fileCheck |
| Check file permissions. | |
| int | useLock |
| Flag to use application locking mechanism. | |
| int | expType |
| Exposure type. | |
| int | secure |
| Secure mode. | |
| int | tmpFile |
| Store tmeporary file. | |
| int | checkFrames |
| Check frame selection at exposure start. | |
| int | numFitsExt |
| Number of FITS-extensions generated during last exposure. | |
| int | numFiles |
| Number of files generated during last exposure. | |
| struct timeval | startTime |
| Start time-stamp. | |
| unsigned int | drvStatus |
| Exposure driver status. | |
| char | drvStatusName [32] |
| Exposure driver status name. | |
| char | drvMsg [256] |
| Exposure driver status message. | |
| char | origin [80] |
| ORIGIN keyword. | |
NGC exposure class
|
inline |
Copy constructor.
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
|
inline |
Check if at least one instance was aborted. This will mark the whole thing as aborted.
|
inline |
Check if exposure is active.
|
inline |
Check if application lock was cancelled.
|
inline |
Clear application lock.
|
inline |
Signal that application is locked.
|
inline |
Release application lock.
|
inline |
Skip locking message.
|
inline |
Assign UUID.
|
inline |
Add instance to instance-management lists.
|
inline |
Check if at least one instance is still attached (active). This will mark the whole thing as attached.
|
inline |
Get exposure base name.
|
inline |
Set exposure base name.
|
inline |
Return data path.
|
inline |
Set data path.
|
inline |
Remove all instances from instance-management lists.
|
inline |
Remove instance from instance-management lists.
|
inline |
Update exposure sequence driver status.
|
inline |
Get end-flag.
|
inline |
Set/clear end-flag.
|
inline |
Return a pointer to the actual error message.
|
inline |
Get exposure start time (string)
|
inline |
Set exposure start time.
|
inline |
Get exposure start time (MJD)
|
inline |
Get exposure start time (UTC seconds since midnight)
|
inline |
Return exposure file format.
|
inline |
Set exposure data file format (as string)
|
inline |
Set exposure data file format.
|
inline |
Return exposure file format name.
|
inline |
Return exposure file format name (ELT)
|
inline |
Initialize synchronous instance locking.
|
inline |
Issue status event.
|
inline |
Check if all attached (active) instances are in last-transfer state.
|
inline |
Check if the given instance is in last-transfer state.
|
inline |
Lock access to exposure handler.
|
inline |
Synchronous instance lock with defined order.
|
inline |
Return naming scheme.
|
inline |
Set naming scheme.
|
inline |
Create next exposure sequence index.
|
inline |
Get full path to base name.
|
inline |
Receive status event.
|
inline |
Release exposure handler locking.
|
inline |
Reset in/out file descriptors.
|
inline |
Reset synchronous instance locking.
|
inline |
Set incoming file descriptor.
|
inline |
Set outgoing file descriptor.
|
inline |
Map status to string.
|
inline |
Get status string.
|
inline |
Get incoming file descriptor.
|
inline |
Get outgoing file descriptor.
|
inline |
Generate exposure start time-stamp.
|
inline |
Get tmp-file path.
|
inline |
Unlock access to exposure handler.
|
inline |
Synchronous instance unlock with defined order.
|
inline |
Wait until application is locked.
| ngcbFITS ngcdcsEXP::appHdr |
FITS-keyword object for application specific extension.
| char ngcdcsEXP::baseName[256] |
Base name.
| int ngcdcsEXP::checkFrames |
Check frame selection at exposure start.
| char ngcdcsEXP::drvMsg[256] |
Exposure driver status message.
| unsigned int ngcdcsEXP::drvStatus |
Exposure driver status.
| char ngcdcsEXP::drvStatusName[32] |
Exposure driver status name.
| int ngcdcsEXP::expType |
Exposure type.
| int ngcdcsEXP::extFits |
Flag for extended FITS header.
| FILE* ngcdcsEXP::fd |
Shared file descriptor.
| FILE* ngcdcsEXP::fdList |
List file descriptor.
| int ngcdcsEXP::fileCheck |
Check file permissions.
| char ngcdcsEXP::fileName[512] |
Common file name for this file.
| ngcbFITS ngcdcsEXP::fits |
FITS-keyword object.
| int ngcdcsEXP::format |
Data file format.
| char ngcdcsEXP::id[64] |
Recording ID.
| int ngcdcsEXP::instLock |
Lock instances for guaranteed order.
| double ngcdcsEXP::integrationTime |
Integration time (for FITS header EXPTIME)
| char ngcdcsEXP::lastName[256+16] |
Last base name incl. sequence number.
| int ngcdcsEXP::merge |
Merge flag.
| int ngcdcsEXP::naming |
Naming scheme.
| int ngcdcsEXP::nopen |
Counts how many objects access this file.
| int ngcdcsEXP::numExtBlocks |
Number of extension header blocks to be reserved.
| int ngcdcsEXP::numFiles |
Number of files generated during last exposure.
| int ngcdcsEXP::numFitsExt |
Number of FITS-extensions generated during last exposure.
| int ngcdcsEXP::oneFile |
All in one file ("Extension" format only)
| char ngcdcsEXP::origin[80] |
ORIGIN keyword.
| int ngcdcsEXP::rev |
Exposure handling revision.
| int ngcdcsEXP::secure |
Secure mode.
| int ngcdcsEXP::sequenceNumber |
Sequence number.
| int ngcdcsEXP::split |
Split glued images into extensions.
| struct timeval ngcdcsEXP::startTime |
Start time-stamp.
| unsigned int ngcdcsEXP::status |
Exposure status.
| unsigned int ngcdcsEXP::statusSaved |
Saved exposure status.
| int ngcdcsEXP::time |
Estimation for exposure time.
| int ngcdcsEXP::tmpFile |
Store tmeporary file.
| int ngcdcsEXP::useLock |
Flag to use application locking mechanism.
| char ngcdcsEXP::uuid[48] |
Unique ID.