|
FreeCAD C++
|
#include <App/DocumentObserver.h>
The DocumentObserver class simplfies the step to write classes that listen to what happens inside a document. This is very useful for classes that needs to be notified when an observed object has changed.
Public Member Functions | |
| DocumentObserver () | |
| Constructor. | |
| void | attachDocument (Document *) |
| void | detachDocument () |
| void App::DocumentObserver::attachDocument | ( | Document * | ) |
Attaches to another document, the old document is not longer observed then.
| void App::DocumentObserver::detachDocument | ( | ) |
Detaches from the current document, the document is not longer observed then.
1.8.15