dol: initial dol commit
[jump.git] / dol / src / dol / visitor / yapi / lib / ProcessWrapper.h
1 #ifndef _PROCESSWRAPPER_H_\r
2 #define _PROCESSWRAPPER_H_\r
3 \r
4 #include "dol.h"\r
5 #include "yapi.h"\r
6 \r
7 class ProcessWrapper : public Process\r
8 {\r
9     public:\r
10         ProcessWrapper(const char* name, const Id& n);\r
11         virtual ~ProcessWrapper();\r
12         virtual void initialize();\r
13         virtual int fire();\r
14         virtual bool isDetached() const { return _isDetached; }\r
15         virtual void detach();\r
16         virtual int getIndex(unsigned indexNumber) const;\r
17         virtual char* getName() const;\r
18 \r
19     protected:\r
20         char* _name;\r
21         DOLProcess _process;\r
22         bool _isDetached;\r
23         int _iteratorIndex[4];\r
24         virtual int getIndex(const char* string, char* tokens,\r
25                 int indexNumber) const;\r
26 };\r
27 \r
28 #endif\r
29 \r