Public Member Functions | |
virtual void | NotifySubjectChanged_Selection (SubjectT *Subject, const ArrayT< IntrusivePtrT< cf::GuiSys::WindowT > > &OldSelection, const ArrayT< IntrusivePtrT< cf::GuiSys::WindowT > > &NewSelection) |
This method is called whenever the window selection of a GUI subject changed. More... | |
virtual void | NotifySubjectChanged_Created (SubjectT *Subject, const ArrayT< IntrusivePtrT< cf::GuiSys::WindowT > > &Windows) |
Notifies the observer that one or more windows have been created. More... | |
virtual void | NotifySubjectChanged_Deleted (SubjectT *Subject, const ArrayT< IntrusivePtrT< cf::GuiSys::WindowT > > &Windows) |
Notifies the observer that one or more windows have been deleted. More... | |
virtual void | NotifySubjectChanged_GuiPropertyModified (SubjectT *Subject) |
Notifies the observer that a general GUI property has been modified. More... | |
virtual void | Notify_Changed (SubjectT *Subject, const cf::TypeSys::VarBaseT &Var) |
Notifies the observer that a variable has changed. More... | |
virtual void | NotifySubjectDies (SubjectT *dyingSubject)=0 |
This method is called whenever a subject is about the be destroyed (and become unavailable). More... | |
virtual | ~ObserverT () |
The virtual destructor. More... | |
Modification notification method and overloads. | |
These methods notify the observer that one or more GUI windows have been modified. The first 3 parameters are common to all of these methods since they are the basic information needed to communicate an object modification. | |
virtual void | NotifySubjectChanged_Modified (SubjectT *Subject, const ArrayT< IntrusivePtrT< cf::GuiSys::WindowT > > &Windows, WindowModDetailE Detail) |
Protected Member Functions | |
ObserverT () | |
The constructor. It is protected so that only derived classes can create instances of this class. More... | |
|
virtual |
The virtual destructor.
|
protected |
The constructor. It is protected so that only derived classes can create instances of this class.
|
inlinevirtual |
Notifies the observer that a variable has changed.
Subject | The GUI document in which a variable has changed. |
Var | The variable whose value has changed. |
Reimplemented in GuiEditor::WindowHierarchyT, GuiEditor::WindowInspectorT, and GuiEditor::RenderWindowT.
|
inlinevirtual |
Notifies the observer that one or more windows have been created.
Subject | The GUI document in which the windows have been created. |
Windows | List of created windows. |
Reimplemented in GuiEditor::WindowHierarchyT, and GuiEditor::RenderWindowT.
|
inlinevirtual |
Notifies the observer that one or more windows have been deleted.
Subject | The GUI document in which the windows have been deleted. |
Windows | List of deleted windows. |
Reimplemented in GuiEditor::WindowHierarchyT, GuiEditor::WindowInspectorT, and GuiEditor::RenderWindowT.
|
inlinevirtual |
Notifies the observer that a general GUI property has been modified.
Subject | The GUI document whose GUI property has been modified. |
Reimplemented in GuiEditor::GuiInspectorT.
|
inlinevirtual |
Subject | The GUI document in which the elements have been modified. |
Windows | List of modified windows. |
Detail | Information about what has been modified: Can be WMD_GENERIC or WMD_HIERARCHY. |
Reimplemented in GuiEditor::WindowHierarchyT, GuiEditor::WindowInspectorT, and GuiEditor::RenderWindowT.
|
inlinevirtual |
This method is called whenever the window selection of a GUI subject changed.
Subject | The GUI document in which the selection has been changed. |
OldSelection | Array of the previously selected windows. |
NewSelection | Array of the new selected windows. |
Reimplemented in GuiEditor::WindowInspectorT, GuiEditor::WindowHierarchyT, and GuiEditor::RenderWindowT.
|
pure virtual |
This method is called whenever a subject is about the be destroyed (and become unavailable).
dyingSubject | The subject that is being destroyed. |
Implemented in GuiEditor::WindowHierarchyT, GuiEditor::WindowInspectorT, GuiEditor::RenderWindowT, and GuiEditor::GuiInspectorT.