]>
Commit | Line | Data |
---|---|---|
aff5997d | 1 | // CircleDriver.h: interface for the Circle function driver. |
2 | // | |
3 | ////////////////////////////////////////////////////////////////////// | |
4 | ||
5 | #if !defined(_CIRCLEDRIVER_H_) | |
6 | #define _CIRCLEDRIVER_H_ | |
7 | ||
8 | #if _MSC_VER > 1000 | |
9 | #pragma once | |
10 | #endif // _MSC_VER > 1000 | |
11 | ||
12 | #include "BaseDriver.h" | |
13 | ||
14 | #include <Standard_DefineHandle.hxx> | |
15 | #include <TFunction_Logbook.hxx> | |
16 | ||
17 | DEFINE_STANDARD_HANDLE(CircleDriver, BaseDriver) | |
18 | ||
19 | // A Circle function driver. | |
20 | class CircleDriver : public BaseDriver | |
21 | { | |
22 | public: | |
23 | ||
24 | // ID of the function driver | |
25 | static const Standard_GUID& GetID(); | |
26 | ||
27 | // Constructor | |
28 | CircleDriver(); | |
29 | ||
30 | // Execution. | |
31 | virtual Standard_Integer Execute(Handle(TFunction_Logbook)& log) const; | |
32 | ||
0e9fe060 | 33 | DEFINE_STANDARD_RTTIEXT(CircleDriver, BaseDriver) |
aff5997d | 34 | }; |
35 | ||
36 | #endif // !defined(_CIRCLEDRIVER_H_) |