DABC (Data Acquisition Backbone Core)  2.9.9
Definitions.h
Go to the documentation of this file.
1 // $Id: Definitions.h 2216 2014-04-03 13:59:28Z linev $
2 
3 /************************************************************
4  * The Data Acquisition Backbone Core (DABC) *
5  ************************************************************
6  * Copyright (C) 2009 - *
7  * GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
8  * Planckstr. 1, 64291 Darmstadt, Germany *
9  * Contact: http://dabc.gsi.de *
10  ************************************************************
11  * This software can be used under the GPL license *
12  * agreements as stated in LICENSE.txt file *
13  * which is part of the distribution. *
14  ************************************************************/
15 
16 #ifndef EZCA_DEFINITIONS_H
17 #define EZCA_DEFINITIONS_H
18 
19 // this is switch to put double values instead of scaled integers
20 #define EZCA_useDOUBLES 1
21 
22 // scaling factor for double values when converted to ints
23 #define EZCA_DOUBLESCALE 1000000000
24 
25 
26 namespace ezca {
27 
28 /*
29  * Common definition of string constants to be used in factory/application.
30  * Implemented in Factory.cxx
31  * */
32 
33  /* Name of record containing the ioc identifier name- TODO Do we need this?*/
34  extern const char* xmlEpicsName;
35 
36  /* Name of record containing the update flag*/
37  extern const char* xmlUpdateFlagRecord;
38 
39  /* Name of record containing the id number*/
40  extern const char* xmlEventIDRecord;
41 
42  /* Name prefix of longword records, will be completed by number*/
43  extern const char* xmlNameLongRecords;
44 
45  /* Name prefix of double records, will be completed by number*/
46  extern const char* xmlNameDoubleRecords;
47 
48  /* Timeout for update polling loop*/
49  extern const char* xmlTimeout;
50 
51  /* full subevent id for epics data*/
52  extern const char* xmlEpicsSubeventId;
53 
55  extern const char* xmlEzcaTimeout;
56 
58  extern const char* xmlEzcaRetryCount;
59 
61  extern const char* xmlEzcaDebug;
62 
64  extern const char* xmlEzcaAutoError;
65 
66  extern const char* xmlCommandReceiver;
67  extern const char* nameUpdateCommand;
68 
69 
70 }
71 
72 #endif
EPICS E-Z (easy) channel access.
Definition: Definitions.h:26
const char * xmlUpdateFlagRecord
Definition: Factory.cxx:30
const char * nameUpdateCommand
Definition: Factory.cxx:41
const char * xmlEzcaAutoError
indicates if error should be automatically printed
Definition: Factory.cxx:39
const char * xmlNameLongRecords
Definition: Factory.cxx:32
const char * xmlCommandReceiver
Definition: Factory.cxx:42
const char * xmlEventIDRecord
Definition: Factory.cxx:31
const char * xmlTimeout
Definition: Factory.cxx:34
const char * xmlEpicsSubeventId
Definition: Factory.cxx:35
const char * xmlEpicsName
Definition: Factory.cxx:29
const char * xmlEzcaDebug
retry counter for ezca operation
Definition: Factory.cxx:38
const char * xmlEzcaTimeout
timeout for ezca operation
Definition: Factory.cxx:36
const char * xmlEzcaRetryCount
retry counter for ezca operation
Definition: Factory.cxx:37
const char * xmlNameDoubleRecords
Definition: Factory.cxx:33