00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __DOP_SolverPython_h__
00020 #define __DOP_SolverPython_h__
00021
00022 #include "DOP_API.h"
00023 #include "DOP_AutoSolver.h"
00024 class DOP_ScriptOperator;
00025 class OP_OTLDefinition;
00026
00027 class DOP_API DOP_SolverPython : public DOP_AutoSolver
00028 {
00029 public:
00030 static OP_Node *myConstructor(
00031 OP_Network *net, const char *name, OP_Operator *entry);
00032
00033 static DOP_ScriptOperator *createScriptOperator(const OP_OTLDefinition &);
00034
00035 protected:
00036 DOP_SolverPython(OP_Network *net, const char *name, OP_Operator *entry);
00037 virtual ~DOP_SolverPython();
00038
00039 virtual void doApplyOutputDataSubclass(
00040 fpreal time,
00041 int outputidx,
00042 SIM_RootData &rootdata,
00043 const char *parentdataname,
00044 DOP_Engine &engine,
00045 UT_StringArray *datanames,
00046 bool active);
00047 };
00048
00049 #endif