Go to the documentation of this file.
5 #include <Gui/PickedPoint.h>
6 #include <Gui/Selection.h>
11 class DocumentObserver;
14 public App::Document::ObserverType,
15 public Gui::Selection::ObserverType,
16 public Gui::PickedPoint::ObserverType
25 void onChange(Gui::Selection::SubjectType* rCaller, Gui::Selection::MessageType Reason);
26 void onChange(App::Document::SubjectType* rCaller, App::Document::MessageType Reason);
27 void onChange(Gui::PickedPoint::SubjectType* rCaller, Gui::PickedPoint::MessageType Reason);
28 virtual const char*
name(
void)
override {
return "DocumentObserverImpl"; }
33 Gui::Selection* _theSelection =
nullptr;
34 Gui::PickedPoint* _thePickedPoint =
nullptr;
35 std::shared_ptr<DocumentObserver> _parent;
Definition: ActiveScript.h:10
Definition: CoreDocument.h:269
DocumentObserverImpl(std::shared_ptr< DocumentObserver > aParent, Document *aDoc)
void onChange(Gui::PickedPoint::SubjectType *rCaller, Gui::PickedPoint::MessageType Reason)
DocumentObserver observes the Document. This class has to be overridden to get messages from the obse...
Definition: DocumentObserver.h:45
Observer< Core::AppChanges > ObserverType
Definition: Observer.h:114
void onChange(App::Document::SubjectType *rCaller, App::Document::MessageType Reason)
Definition: CoreApplication.h:28
Document holding all persistent DocObjects.
Definition: Document.h:62
void onChange(Core::CoreApplication::SubjectType *rCaller, Core::CoreApplication::MessageType Reason)
Definition: CoreApplication.h:71
virtual const char * name(void) override
Definition: DocumentObserverImpl.h:28
void onChange(Gui::Selection::SubjectType *rCaller, Gui::Selection::MessageType Reason)
Definition: DocumentObserverImpl.h:17