File indexing completed on 2025-01-18 10:05:21
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _TFunction_IFunction_HeaderFile
0017 #define _TFunction_IFunction_HeaderFile
0018
0019 #include <Standard.hxx>
0020 #include <Standard_DefineAlloc.hxx>
0021 #include <Standard_Handle.hxx>
0022
0023 #include <TDF_Label.hxx>
0024 #include <TDF_LabelList.hxx>
0025 #include <TFunction_ExecutionStatus.hxx>
0026 #include <TFunction_DoubleMapOfIntegerLabel.hxx>
0027 #include <Standard_Integer.hxx>
0028 class Standard_GUID;
0029 class TFunction_Logbook;
0030 class TFunction_Driver;
0031 class TFunction_GraphNode;
0032
0033
0034
0035 class TFunction_IFunction
0036 {
0037 public:
0038
0039 DEFINE_STANDARD_ALLOC
0040
0041
0042
0043
0044
0045
0046
0047 Standard_EXPORT static Standard_Boolean NewFunction (const TDF_Label& L, const Standard_GUID& ID);
0048
0049
0050
0051
0052 Standard_EXPORT static Standard_Boolean DeleteFunction (const TDF_Label& L);
0053
0054
0055
0056
0057 Standard_EXPORT static Standard_Boolean UpdateDependencies (const TDF_Label& Access);
0058
0059 Standard_EXPORT TFunction_IFunction();
0060
0061
0062
0063 Standard_EXPORT TFunction_IFunction(const TDF_Label& L);
0064
0065
0066 Standard_EXPORT void Init (const TDF_Label& L);
0067
0068
0069 Standard_EXPORT const TDF_Label& Label() const;
0070
0071
0072 Standard_EXPORT Standard_Boolean UpdateDependencies() const;
0073
0074
0075
0076 Standard_EXPORT void Arguments (TDF_LabelList& args) const;
0077
0078
0079
0080 Standard_EXPORT void Results (TDF_LabelList& res) const;
0081
0082
0083 Standard_EXPORT void GetPrevious (TDF_LabelList& prev) const;
0084
0085
0086 Standard_EXPORT void GetNext (TDF_LabelList& prev) const;
0087
0088
0089 Standard_EXPORT TFunction_ExecutionStatus GetStatus() const;
0090
0091
0092 Standard_EXPORT void SetStatus (const TFunction_ExecutionStatus status) const;
0093
0094
0095 Standard_EXPORT const TFunction_DoubleMapOfIntegerLabel& GetAllFunctions() const;
0096
0097
0098 Standard_EXPORT Handle(TFunction_Logbook) GetLogbook() const;
0099
0100
0101 Standard_EXPORT Handle(TFunction_Driver) GetDriver (const Standard_Integer thread = 0) const;
0102
0103
0104 Standard_EXPORT Handle(TFunction_GraphNode) GetGraphNode() const;
0105
0106
0107
0108
0109 protected:
0110
0111
0112
0113
0114
0115 private:
0116
0117
0118
0119 TDF_Label myLabel;
0120
0121
0122 };
0123
0124
0125
0126
0127
0128
0129
0130 #endif