source: trunk/FACT++/dim_v19r20/dim/dim.hxx@ 10773

Last change on this file since 10773 was 10614, checked in by tbretz, 14 years ago
New release V19 r20
File size: 1.0 KB
Line 
1#ifndef DIM_HH
2#define DIM_HH
3
4#include "dim_common.h"
5#include "sllist.hxx"
6#include "dllist.hxx"
7
8class DimCore
9{
10public:
11 static int inCallback;
12};
13
14class DllExp DimErrorHandler{
15public:
16 virtual void errorHandler(int severity, int code, char *msg) = 0;
17 virtual ~DimErrorHandler() {};
18};
19
20class DllExp DimTimer
21{
22public:
23 int firedFlag;
24 int runningFlag;
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
35class DllExp DimThread
36{
37public:
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
50class DllExp DimUtil
51{
52public:
53 static char *getEnvVar(char *varName);
54 DimUtil();
55 ~DimUtil();
56 static char *itsBuffer;
57 static int itsBufferSize;
58};
59
60#endif
Note: See TracBrowser for help on using the repository browser.