0029750: Samples - function arrows are not updated by moving a node in FuncDemo qt...
[occt.git] / samples / qt / FuncDemo / src / CircleDriver.h
1 // CircleDriver.h: interface for the Circle function driver.
2 //
3 //////////////////////////////////////////////////////////////////////
4
5 #if !defined(_CIRCLEDRIVER_H_)
6 #define _CIRCLEDRIVER_H_
7
8 #include "BaseDriver.h"
9
10 #include <Standard_DefineHandle.hxx> 
11 #include <TFunction_Logbook.hxx>
12
13 DEFINE_STANDARD_HANDLE(CircleDriver, BaseDriver)
14
15 // A Circle function driver.
16 class CircleDriver : public BaseDriver
17 {
18 public:
19
20     // ID of the function driver
21     static const Standard_GUID& GetID();
22     
23     // Constructor
24         CircleDriver();
25
26         // Execution.
27         virtual Standard_Integer Execute(Handle(TFunction_Logbook)& log) const;
28
29         DEFINE_STANDARD_RTTIEXT(CircleDriver, BaseDriver)
30 };
31
32 #endif // !defined(_CIRCLEDRIVER_H_)