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

agwsTARGET_LIST.h

Go to the documentation of this file.
00001 #ifndef agwsTARGET_LIST_H
00002 #define agwsTARGET_LIST_H
00003 /*****************************************************************************
00004 * E.S.O. - VLT project
00005 *
00006 * "@(#) $Id: agwsTARGET_LIST.h,v 1.182 2003/11/12 08:34:13 vltsccm Exp $"
00007 *
00008 * who       when      what
00009 * --------  --------  ------------------------------------------------------
00010 * nfiebig   31/05/96  created
00011 */
00012 
00013 /*****************************************************************************
00014  * Definition of class agsTARGET_LIST
00015  *----------------------------------------------------------------------------
00016  */
00017 
00018 #ifndef __cplusplus
00019 #error This is a C++ include file and cannot be used from plain C
00020 #endif
00021 
00022 #include <ECCS.h>
00023 #include "mswMOD_LIST.h"
00024 
00025 struct agwsTARGET
00026 {
00027     dbATTRIBUTE modName;
00028     ccsENVNAME  envName;
00029     ccsPROCNAME procName;
00030     vltBYTES32  targetSpec;
00031     vltBYTES256 modDbState;
00032     vltBYTES256 modDbPoint;
00033 };
00034 
00035 class agwsTARGET_LIST : public eccsERROR_CLASS
00036 {
00037   public:
00038     agwsTARGET_LIST(const dbSYMADDRESS dbPoint);
00039     ~agwsTARGET_LIST();
00040 
00041     ccsCOMPL_STAT LoadFocusData();
00042     ccsCOMPL_STAT agwsTARGET_LIST::LoadModuleData(const char *point, 
00043               const char *name,
00044               const mswMOD_RECORD_ARRAY &modArray);
00045     ccsCOMPL_STAT Load(const dbSYMADDRESS point);
00046     ccsCOMPL_STAT SetDest(const dbATTRIBUTE name, msgMESSAGE &msg, vltLOGICAL loadFocusData = ccsTRUE);
00047     const char *  Envname(const dbATTRIBUTE name);
00048     const char *  Procname(const dbATTRIBUTE name);
00049     const char *  Target(const dbATTRIBUTE name);
00050     const char *  ModDbPoint(const dbATTRIBUTE name);
00051     const char *  ModDbState(const dbATTRIBUTE name);
00052 
00053   private:
00054     ccsCOMPL_STAT LoadTarget(const dbSYMADDRESS point, 
00055                              const dbATTRIBUTE name, vltINT32 index);
00056     ccsCOMPL_STAT Select(const dbATTRIBUTE name);
00057 
00058     vltUINT16   curTarget;   // current target list index
00059     vltUINT16   numTargets;  // number of entries in target list
00060     agwsTARGET *targets;     // target list
00061 
00062     dbSYMADDRESS dbEntryPoint;
00063 };
00064 
00065 #endif // !agwsTARGET_LIST_H
00066 
00067 // __oOo__

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