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

trkwsPOS_READ_LIST.h

Go to the documentation of this file.
00001 #ifndef trkwsPOS_READ_LIST_H
00002 #define trkwsPOS_READ_LIST_H
00003 /*******************************************************************************
00004 * E.S.O. - VLT project
00005 *
00006 * "@(#) $Id: trkwsPOS_READ_LIST.h,v 1.157 2003/10/17 14:00:42 vltsccm Exp $"
00007 *
00008 * who       when      what
00009 * --------  --------  ----------------------------------------------
00010 * gchiozzi  24/10/96  Added maxDifference to Match() method
00011 * gchiozzi  20/08/96  Added new attributes
00012 * gchiozzi  19/08/96  created
00013 */
00014 
00015 /************************************************************************
00016  *
00017  *----------------------------------------------------------------------
00018  */
00019 
00020 #ifndef __cplusplus
00021 #error This is a C++ include file and cannot be used from plain C
00022 #endif
00023 
00024 #include "evhHANDLER.h"
00025 #include "eccsDB_ATTR.h"
00026 #include "trkws.h"
00027 #include "trkwsRING_BUFFER.h"
00028 
00029 class trkwsPOS_READ_LIST:  public fndOBJECT, public eccsERROR_CLASS
00030 {
00031   public:
00032     trkwsPOS_READ_LIST(const dbSYMADDRESS dbPoint,
00033            fndOBJECT *obj,
00034            const evhCB_METHOD procedure);
00035     virtual ~trkwsPOS_READ_LIST();
00036 
00037     ccsCOMPL_STAT     ReadPosition();
00038     ccsCOMPL_STAT     Match(vltDOUBLE timeStamp, vltDOUBLE maxDifference=0.0);
00039     ccsCOMPL_STAT     Select(vltINT32 offset);
00040 
00041     trkwsRING_BUFFER &RingBuffer() { return ringBuffer; };
00042     evtEVENT         &Evt()        { return evt;   };
00043 
00044     vltDOUBLE         Position()   { return position;  };
00045     vltDOUBLE         AlphaAgc()   { return alphaAgc;  };
00046     vltDOUBLE         DeltaAgc()   { return deltaAgc;  };
00047     vltDOUBLE         PosEncoder() { return posEncoder;};
00048     vltDOUBLE         TimeStamp()  { return timeStamp; };
00049 
00050     const char *DbPoint() { return dbPoint;}
00051 
00052   private:
00053     dbSYMADDRESS     dbPoint;
00054     trkwsRING_BUFFER ringBuffer;
00055     evtEVENT         evt;
00056 
00057     dbLISTID         listId;
00058     vltDOUBLE        position;
00059     vltDOUBLE        posEncoder;
00060     vltDOUBLE        timeStamp;
00061     vltDOUBLE        alphaAgc;
00062     vltDOUBLE        deltaAgc;
00063     
00064     fndOBJECT          *obj;
00065     const evhCB_METHOD  procedure;
00066 };
00067 
00068 
00069 
00070 #endif 

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