1 // BaseDriver.h: interface for the Base function driver.
3 //////////////////////////////////////////////////////////////////////
5 #if !defined(_BASEDRIVER_H_)
10 #endif // _MSC_VER > 1000
12 #include <Standard_DefineHandle.hxx>
13 #include <TFunction_Driver.hxx>
14 #include <TFunction_Logbook.hxx>
15 #include <TDF_LabelList.hxx>
17 DEFINE_STANDARD_HANDLE(BaseDriver, TFunction_Driver)
19 // A base function driver.
20 class BaseDriver : public TFunction_Driver
27 // Returns the arguments of the function
28 virtual void Arguments(TDF_LabelList& args) const;
30 // Returns the results of the function
31 virtual void Results(TDF_LabelList& res) const;
34 virtual Standard_Integer Execute(Handle(TFunction_Logbook)& log) const;
36 DEFINE_STANDARD_RTTIEXT(BaseDriver, TFunction_Driver)
39 #endif // !defined(_BASEDRIVER_H_)