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

samp.h

Go to the documentation of this file.
00001 #ifndef SAMP_H
00002 #define SAMP_H
00003 
00004 /*******************************************************************************
00005 * E.S.O. - VLT project
00006 *
00007 * "@(#) $Id: samp.h,v 2.34 2003/05/16 13:04:52 vltsccm Exp $"
00008 *
00009 * who       when      what
00010 * --------  --------  ----------------------------------------------
00011 * mcomin  23/05/00    Re-aranged to VLT standards
00012 */
00013 
00014 
00015 #ifdef __cplusplus
00016 extern "C" {
00017 #endif
00018 
00019 /*
00020  * Message constants
00021  */
00022 
00023 #define sampMODE_NOW_STRING      "Now"
00024 #define sampMODE_EVENT_STRING    "Event"
00025 
00026 #define sampLOGIC_EQ_STRING      "EQ"
00027 #define sampLOGIC_NE_STRING      "NE"
00028 #define sampLOGIC_GT_STRING      "GT"
00029 #define sampLOGIC_GE_STRING      "GE"
00030 #define sampLOGIC_LT_STRING      "LT"
00031 #define sampLOGIC_LE_STRING      "LE"
00032 #define sampLOGIC_ANY_STRING     "ANY"
00033 
00034 #define sampTYPE_INTEGER_STRING  "Integer"
00035 #define sampTYPE_REAL_STRING     "Real"
00036 
00037 /*
00038  * data types
00039  */
00040  
00041 typedef struct {                    /* Reply for SMPSTRT command        */
00042     vltUINT32       headerSize;     /* Size of sampling message header  */
00043     vltUINT32       numValues;      /* Number of items sampled          */
00044     vltUINT32       numSamples;     /* Number of samples reported with  */
00045                                     /* this message                     */
00046     ccsTIMEVAL      timeStamp;      /* Time stamp (UTC) of first sample */
00047     vltUINT32       samplePeriod;   /* Number of microseconds between   */
00048                                     /* samples                          */
00049 } sampSMPSTRT_REPLY;
00050 
00051 
00052 #ifdef MAKE_VXWORKS
00053 #include "sampLCC.h"
00054 #else
00055 #include "sampCCS.h"
00056 #endif
00057 
00058 #ifdef __cplusplus
00059 }
00060 #endif
00061 
00062 #endif 

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