OCC Main Page | ApplicationFramework | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ApplicationFramework
TKCAF
TFunction


TFunction_Driver Class Reference

This driver class provide services around function
execution. One instance of this class is built for
the whole session. The driver is bound to the
DriverGUID in the DriverTable class.
It allows you to create classes which inherit from
this abstract class.
These subclasses identify the various algorithms
which can be applied to the data contained in the
attributes of sub-labels of a model.
A single instance of this class and each of its
subclasses is built for the whole session.
.

#include <TFunction_Driver.hxx>


Public Member Functions

Standard_EXPORT void Init (const TDF_Label &L)
 Initializes the label L for this function prior to its execution.
.
TDF_Label Label () const
 Returns the label of the driver for this function.
.
virtual Standard_EXPORT void Validate (TFunction_Logbook &log) const
 Validates labels of a function in <log>.
This function is the one initialized in this function driver.
Warning
In regeneration mode, the solver must call this
method even if the function is not executed.
//! execution of function
=====================
.
virtual Standard_EXPORT Standard_Boolean MustExecute (const TFunction_Logbook &log) const
 Analyzes the labels in the logbook log.
Returns true if attributes have been modified.
If the function label itself has been modified, the function must be executed.
.
virtual Standard_EXPORT Standard_Integer Execute (TFunction_Logbook &log) const =0
 Executes the function in this function driver and
puts the impacted labels in the logbook log.
//! arguments & results of functions
================================
.
virtual Standard_EXPORT void Arguments (TDF_LabelList &args) const
 The method fills-in the list by labels,
where the arguments of the function are located.
.
virtual Standard_EXPORT void Results (TDF_LabelList &res) const
 The method fills-in the list by labels,
where the results of the function are located.
.
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Protected Member Functions

Standard_EXPORT TFunction_Driver ()
 initialisation of the driver
============================


Private Attributes

TDF_Label myLabel


Constructor & Destructor Documentation

Standard_EXPORT TFunction_Driver::TFunction_Driver  )  [protected]
 


Member Function Documentation

virtual Standard_EXPORT void TFunction_Driver::Arguments TDF_LabelList args  )  const [virtual]
 

virtual Standard_EXPORT Standard_Integer TFunction_Driver::Execute TFunction_Logbook log  )  const [pure virtual]
 

Standard_EXPORT const TFunction_Driver::Handle Standard_Type   )  const
 

Standard_EXPORT void TFunction_Driver::Init const TDF_Label L  ) 
 

TDF_Label TFunction_Driver::Label  )  const [inline]
 

virtual Standard_EXPORT Standard_Boolean TFunction_Driver::MustExecute const TFunction_Logbook log  )  const [virtual]
 

virtual Standard_EXPORT void TFunction_Driver::Results TDF_LabelList res  )  const [virtual]
 

virtual Standard_EXPORT void TFunction_Driver::Validate TFunction_Logbook log  )  const [virtual]
 


Field Documentation

TDF_Label TFunction_Driver::myLabel [private]
 


The documentation for this class was generated from the following files:
Generated on Mon Aug 25 14:15:37 2008 for OpenCASCADE by  doxygen 1.4.1