mrfioc2  2.3.0
evrGTIF.h
Go to the documentation of this file.
1 /*************************************************************************\
2 * Copyright (c) 2010 Brookhaven Science Associates, as Operator of
3 * Brookhaven National Laboratory.
4 * mrfioc2 is distributed subject to a Software License Agreement found
5 * in file LICENSE that is included with this distribution.
6 \*************************************************************************/
7 /*
8  * Author: Michael Davidsaver <mdavidsaver@gmail.com>
9  */
10 
11 #ifndef EVRGTIF_H_INC
12 #define EVRGTIF_H_INC
13 
14 #include <epicsTypes.h>
15 #include <epicsTime.h>
16 #include <shareLib.h>
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 /*General Time Interface
23  *
24  * C interface to the timestamp supply functions
25  * of the EVR interface for use with generalTime.
26  */
27 
28 /* Must be called before other functions. Returns non-zero on error */
29 epicsShareFunc
30 int EVRInitTime();
31 
32 epicsShareFunc
33 int EVRCurrentTime(epicsTimeStamp *pDest);
34 
35 epicsShareFunc
36 int EVREventTime(epicsTimeStamp *pDest, int event);
37 
38 #ifdef __cplusplus
39 }
40 #endif
41 
42 #endif /* EVRGTIF_H_INC */
epicsShareFunc int EVRCurrentTime(epicsTimeStamp *pDest)
Definition: evrGTIF.cpp:95
epicsShareFunc int EVRInitTime()
Definition: evrGTIF.cpp:45
epicsShareFunc int EVREventTime(epicsTimeStamp *pDest, int event)
Definition: evrGTIF.cpp:72