-- File: DNaming_RevolutionDriver.cdl -- Created: Wed Jun 17 15:34:53 2009 -- Author: Sergey ZARITCHNY ---Copyright: Open CasCade SA 2009 class RevolutionDriver from DNaming inherits Driver from TFunction ---Purpose: uses Label from TDF, Logbook from TFunction, Function from TFunction, ExtendedString from TCollection, MakeRevol from BRepPrimAPI, Shape from TopoDS is Create returns mutable RevolutionDriver from DNaming; ---Purpose: Constructor ---Purpose: validation -- ========== Validate(me; theLog : in out Logbook from TFunction) is redefined; ---Purpose: Validates labels of a function in . -- In regeneration mode this method must be called (by the -- solver) even if the function is not executed, to build -- the valid label scope. ---Purpose: execution of function -- ====================== MustExecute (me; theLog : Logbook from TFunction) ---Purpose: Analyse in if the loaded function must be executed -- (i.e.arguments are modified) or not. -- If the Function label itself is modified, the function must -- be executed. returns Boolean from Standard is redefined; Execute (me; theLog : in out Logbook from TFunction) ---Purpose: Execute the function and push in the impacted -- labels (see method SetImpacted). returns Integer from Standard is redefined; LoadNamingDS(me; theResultLabel : Label from TDF; mkRevol : in out MakeRevol from BRepPrimAPI; Basis : Shape from TopoDS; Context : Shape from TopoDS) is private; end RevolutionDriver;