FACT++  1.0
dim.hxx
Go to the documentation of this file.
1 #ifndef DIM_HH
2 #define DIM_HH
3 
4 #include "dim_common.h"
5 #include "sllist.hxx"
6 #include "dllist.hxx"
7 
8 class DimCore
9 {
10 public:
11  static int inCallback;
12 };
13 
15 public:
16  virtual void errorHandler(int severity, int code, char *msg) = 0;
17  virtual ~DimErrorHandler() {};
18 };
19 
21 {
22 public:
23  int firedFlag;
25  DimTimer();
26  DimTimer(int time);
27  virtual ~DimTimer();
28  int start(int time);
29  int stop();
30  int fired() { return firedFlag;};
31  void clear() { firedFlag = 0;};
32  virtual void timerHandler() { };
33 };
34 
36 {
37 public:
38  long itsId;
39  DimThread();
40  virtual ~DimThread();
41  int start();
42 // int stop();
43 // void start(int time);
44 // int stop();
45 // int fired() { return firedFlag;};
46 // void clear() { firedFlag = 0;};
47  virtual void threadHandler() { };
48 };
49 
51 {
52 public:
53  static char *getEnvVar(char *varName);
54  DimUtil();
55  ~DimUtil();
56  static char *itsBuffer;
57  static int itsBufferSize;
58 };
59 
60 #endif
int start(int initState)
Definition: feeserver.c:1740
int runningFlag
Definition: dim.hxx:24
Definition: dim.hxx:50
virtual void timerHandler()
Definition: dim.hxx:32
static int itsBufferSize
Definition: dim.hxx:57
void clear()
Definition: dim.hxx:31
static char * itsBuffer
Definition: dim.hxx:56
long itsId
Definition: dim.hxx:38
int fired()
Definition: dim.hxx:30
#define DllExp
Definition: dim_common.h:93
static int inCallback
Definition: dim.hxx:11
Definition: dim.hxx:8
int firedFlag
Definition: dim.hxx:23
Warning because the service this data corrsponds to might have been last updated longer ago than Local time
Definition: smartfact.txt:92
virtual ~DimErrorHandler()
Definition: dim.hxx:17
virtual void threadHandler()
Definition: dim.hxx:47
Definition: dim.hxx:20