SHAPER  9.12.0
PlaneGCSSolver_UpdateFeature Class Reference

Send events to listeners about changing a feature. More...

Inheritance diagram for PlaneGCSSolver_UpdateFeature:
Inheritance graph

Public Member Functions

 PlaneGCSSolver_UpdateFeature (UpdaterPtr theNext=UpdaterPtr())
 
virtual void attach (SketchSolver_Constraint *theObserver, const std::string &theType)
 Attach listener. More...
 
virtual void update (const FeaturePtr &theFeature)
 Send notification about update of the feature to all interested. More...
 
void detach (SketchSolver_Constraint *theObserver)
 Detach listener. More...
 

Static Public Member Functions

static const std::string & GROUP ()
 Group of entities, processed by this kind of updater. More...
 

Protected Attributes

UpdaterPtr myNext
 next updater, access if current one unable to process request More...
 
std::list< SketchSolver_Constraint * > myObservers
 list of observers More...
 

Detailed Description

Send events to listeners about changing a feature.

Member Function Documentation

◆ GROUP()

static const std::string& PlaneGCSSolver_UpdateFeature::GROUP ( )
inlinestatic

Group of entities, processed by this kind of updater.

◆ attach()

void PlaneGCSSolver_UpdateFeature::attach ( SketchSolver_Constraint theObserver,
const std::string &  theType 
)
virtual

Attach listener.

Parameters
theObserver[in] object which want to receive notifications
theType[in] receive notifications about changing objects of theType and their derivatives

Implements PlaneGCSSolver_Update.

◆ update()

void PlaneGCSSolver_UpdateFeature::update ( const FeaturePtr &  theFeature)
virtual

Send notification about update of the feature to all interested.

Implements PlaneGCSSolver_Update.

◆ detach()

void PlaneGCSSolver_Update::detach ( SketchSolver_Constraint theObserver)
inlineinherited

Detach listener.

Field Documentation

◆ myNext

UpdaterPtr PlaneGCSSolver_Update::myNext
protectedinherited

next updater, access if current one unable to process request

◆ myObservers

std::list<SketchSolver_Constraint*> PlaneGCSSolver_Update::myObservers
protectedinherited

list of observers