Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

atfsInternal.h

Go to the documentation of this file.
00001 #ifndef ATFS_INTERNAL_H
00002 #define ATFS_INTERNAL_H
00003 /*******************************************************************************
00004 * E.S.O. - VLT project
00005 *
00006 * "@(#) $Id: atfsInternal.h,v 1.12 2003/11/25 07:23:07 vltsccm Exp $"
00007 *
00008 * who       when      what
00009 * --------  --------  ----------------------------------------------
00010 * rkarban 2001-04-06 created
00011 */
00012 
00013 /************************************************************************
00014  *
00015  *----------------------------------------------------------------------
00016  */
00017 
00018 #include "agInternal.h"
00019 #include "atfsDatabase.h"
00020 
00021 /*
00022  * Constants
00023  */
00024 
00025 #define atfsMOD             "atfs"       /* Name of the module               */
00026 #define atfsSERVER_CIT        "atfsServer" /* Name of the CIT                  */
00027 /*
00028  * Types
00029  */
00030 
00031 typedef struct
00032 {
00033     vltLOGICAL filter;
00034 
00035     ccsTIMEVAL at;
00036     ccsTIMEVAL stopAt;
00037 
00038     vltDOUBLE  amplitude;
00039     vltDOUBLE  offset;
00040     vltDOUBLE  orientation;
00041     vltDOUBLE  frequency;
00042     vltDOUBLE  ratio;
00043     vltINT32   phase;
00044 } atfsCHOP_CONFIG;
00045 
00046 typedef struct
00047 {
00048     vltINT32      mode;
00049     atfsCHOP_CONFIG chopConfig;
00050 
00051     /* cai tables for DB access */
00052     char        *fsAttrVector;
00053     char        *fsConfigVector;
00054 
00055 } atfsGLOBAL;
00056 
00057 /*
00058  * Global data (allocated in fs.c)
00059  */
00060 extern atfsGLOBAL  atfsGlobal;
00061 
00062 
00063 /*
00064  * Functions
00065  */
00066 ccsCOMPL_STAT atfsStartAg (IN  msgMSG  *msg,
00067        IN  vltDOUBLE    rotAngle,
00068        IN  vltDOUBLE    repFrq,
00069        IN  char  *at,
00070        IN  char        *mode,
00071        IN  vltINT32     bookid,
00072        OUT ccsERROR    *error);
00073 
00074 ccsCOMPL_STAT atfsSendOffsetMsg (IN  agGLOBAL            *ptr,
00075              IN  agOFFSET   *offset,
00076              OUT ccsERROR     *error  );
00077 
00078 /*
00079  * atfsMode.c
00080  */
00081 ccsCOMPL_STAT atfsDbReadMode(OUT vltINT32  *fsMode,
00082          OUT ccsERROR   *error);
00083 ccsCOMPL_STAT atfsSetMode(IN  vltINT32    fsMode,
00084       OUT ccsERROR   *error);
00085 
00086 
00087 /*
00088  * atfsGetConfigMode.c
00089  */
00090 ccsCOMPL_STAT atfsGetConfigMode (IN  const char *mode, 
00091              OUT vltINT32   *configMode,
00092              OUT ccsERROR   *error);
00093   
00094 /*
00095  * atfsConfigPIIParams.c
00096  */
00097 ccsCOMPL_STAT atfsConfigPIIParams (IN  char      *mode, 
00098          IN  agPII_CMD *pii,
00099          OUT ccsERROR  *error);
00100 
00101 /*
00102  * atfsConfigCcdipParams.c
00103  */
00104 ccsCOMPL_STAT atfsConfigCcdipParams (IN  const char *mode, 
00105            IN  ccdipCVBUF *cvb,
00106            IN  vltINT32    rejectionLimit,
00107            OUT ccsERROR   *error);
00108 
00109 /*
00110  * atfsConfig.c
00111  */
00112 ccsCOMPL_STAT atfsConfig (IN  char       *mode, 
00113       IN  vltDOUBLE errorVectorMin,
00114       IN  vltDOUBLE offsetMax,
00115       IN  vltDOUBLE sendFreq,
00116       IN  vltINT32  errorVectorValues,
00117       OUT ccsERROR  *error);
00118 
00119 /*
00120  * atfsChop.c
00121  */
00122 ccsCOMPL_STAT atfsChopSet(IN  const char *at, 
00123       IN  const char *stopAt,
00124       IN  vltDOUBLE   amplitude, 
00125       IN  vltDOUBLE   offset, 
00126       IN  vltDOUBLE   orientation,
00127       IN  vltDOUBLE   frequency, 
00128       IN  vltDOUBLE   ratio,
00129       IN  vltINT32    phase,
00130       OUT ccsERROR   *error);
00131 
00132 ccsCOMPL_STAT atfsChopInit(OUT atfsCHOP_CONFIG *config,
00133        OUT ccsERROR      *error);
00134 
00135 ccsCOMPL_STAT atfsChopFilter(IN  atfsCHOP_CONFIG *config,
00136          IN  ccdIPIMAGE    *img,
00137          OUT vltLOGICAL    *accept,
00138          OUT ccsERROR      *error);
00139 
00140 /*
00141  * atfsProcessImageCheck.c
00142  */
00143 ccsCOMPL_STAT atfsProcessImageCheck(ccdIPIMAGE *img, int *retval, ccsERROR *error);
00144 
00145 ccsCOMPL_STAT atfsGuidingTask (IN   SEM_ID         *syncSem,
00146            OUT  ccsCOMPL_STAT  *initStatus,
00147            IN   vltDOUBLE  *rotAngle,
00148            IN   agGLOBAL   *ptr);
00149 
00150 #endif /* !ATFS_INTERNAL_H */

Generated on Wed Dec 3 14:52:08 2003 for ATCS API by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001