SHAPER
9.13.0
|
Send events to listeners about changing a feature. More...
Public Member Functions | |
PlaneGCSSolver_Update (UpdaterPtr theNext=UpdaterPtr()) | |
virtual void | attach (SketchSolver_Constraint *theObserver, const std::string &theType)=0 |
Attach listener. More... | |
void | detach (SketchSolver_Constraint *theObserver) |
Detach listener. More... | |
virtual void | update (const FeaturePtr &theFeature)=0 |
Send notification about update of the feature to all interested. 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... | |
Send events to listeners about changing a feature.
|
pure virtual |
Attach listener.
theObserver | [in] object which want to receive notifications |
theType | [in] receive notifications about changing objects of theType and their derivatives |
Implemented in PlaneGCSSolver_UpdateFeature, and PlaneGCSSolver_UpdateCoincidence.
|
inline |
Detach listener.
|
pure virtual |
Send notification about update of the feature to all interested.
Implemented in PlaneGCSSolver_UpdateFeature, and PlaneGCSSolver_UpdateCoincidence.
|
protected |
next updater, access if current one unable to process request
|
protected |
list of observers