Public Member Functions | |
virtual void | Notify_SelectionChanged (SubjectT *Subject, ModelElementTypeT Type, const ArrayT< unsigned int > &OldSel, const ArrayT< unsigned int > &NewSel) |
This method is called whenever the selection of a model changed. More... | |
virtual void | Notify_Created (SubjectT *Subject, ModelElementTypeT Type, const ArrayT< unsigned int > &Indices) |
This method is called when new elements have been created and were added to the model. More... | |
virtual void | Notify_Deleted (SubjectT *Subject, ModelElementTypeT Type, const ArrayT< unsigned int > &Indices) |
This method is called when new elements were deleted from the model. More... | |
virtual void | Notify_JointChanged (SubjectT *Subject, unsigned int JointNr) |
Notifies the observer that a joint has changed. More... | |
virtual void | Notify_MeshChanged (SubjectT *Subject, unsigned int MeshNr) |
Notifies the observer that a mesh has changed. More... | |
virtual void | Notify_SkinChanged (SubjectT *Subject, unsigned int SkinNr) |
Notifies the observer that a skin has changed. More... | |
virtual void | Notify_GuiFixtureChanged (SubjectT *Subject, unsigned int GuiFixtureNr) |
Notifies the observer that a GUI fixture has changed. More... | |
virtual void | Notify_AnimChanged (SubjectT *Subject, unsigned int AnimNr) |
Notifies the observer that an animation sequence has changed. More... | |
virtual void | Notify_ChannelChanged (SubjectT *Subject, unsigned int ChannelNr) |
Notifies the observer that an animation channel has changed. More... | |
virtual void | Notify_SubmodelsChanged (SubjectT *Subject) |
Notifies the observer that the list of submodels has changed. More... | |
virtual void | Notify_AnimStateChanged (SubjectT *Subject) |
Notifies the observer that the animation state has changed. More... | |
virtual void | Notify_SubjectDies (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... | |
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 an animation sequence has changed.
Subject | The model document with the model in which the anim has changed. |
AnimNr | The number of the anim sequence that has changed. |
Reimplemented in ModelEditor::ElementsListT, and ModelEditor::AnimInspectorT.
|
inlinevirtual |
Notifies the observer that the animation state has changed.
Subject | The model document whose AnimStateT has changed. |
Reimplemented in ModelEditor::ScenePropGridT.
|
inlinevirtual |
Notifies the observer that an animation channel has changed.
Subject | The model document with the model in which the channel has changed. |
ChannelNr | The number of the anim channel that has changed. |
Reimplemented in ModelEditor::ElementsListT, and ModelEditor::ChannelInspectorT.
|
inlinevirtual |
This method is called when new elements have been created and were added to the model.
Subject | The model document to which elements were added. |
Type | The type of the added elements (joints, meshes or anims). |
Indices | The array indices at which the new elements were inserted. |
Reimplemented in ModelEditor::ElementsListT, and ModelEditor::JointsHierarchyT.
|
inlinevirtual |
This method is called when new elements were deleted from the model.
Subject | The model document from which elements were deleted. |
Type | The type of the deleted elements (joints, meshes or anims). |
Indices | The array indices at which the elements were deleted. |
Reimplemented in ModelEditor::ElementsListT, and ModelEditor::JointsHierarchyT.
|
inlinevirtual |
Notifies the observer that a GUI fixture has changed.
Subject | The model document with the model in which the GUI fixture has changed. |
GuiFixtureNr | The number of the GUI fixture that has changed. |
Reimplemented in ModelEditor::ElementsListT, and ModelEditor::GuiFixInspectorT.
|
inlinevirtual |
Notifies the observer that a joint has changed.
Subject | The model document with the model in which the joint has changed. |
JointNr | The number of the joint that has changed. |
Reimplemented in ModelEditor::JointsHierarchyT, and ModelEditor::JointInspectorT.
|
inlinevirtual |
Notifies the observer that a mesh has changed.
Subject | The model document with the model in which the mesh has changed. |
MeshNr | The number of the mesh that has changed. |
Reimplemented in ModelEditor::ElementsListT, and ModelEditor::MeshInspectorT.
|
inlinevirtual |
This method is called whenever the selection of a model changed.
Subject | The model document in which the selection has changed. |
Type | The type of the elements in a model whose selection changed (joints, meshes or anims). |
OldSel | Array of the previously selected elements. |
NewSel | Array of the new selected elements. |
Reimplemented in ModelEditor::ElementsListT, ModelEditor::TransformDialogT, ModelEditor::JointsHierarchyT, ModelEditor::AnimInspectorT, ModelEditor::ChannelInspectorT, ModelEditor::GuiFixInspectorT, ModelEditor::JointInspectorT, and ModelEditor::MeshInspectorT.
|
inlinevirtual |
Notifies the observer that a skin has changed.
Subject | The model document with the model in which the skin has changed. |
SkinNr | The number of the skin that has changed. |
Reimplemented in ModelEditor::ElementsListT, and ModelEditor::MeshInspectorT.
|
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 ModelEditor::ElementsListT, ModelEditor::ScenePropGridT, ModelEditor::SubmodelsListT, ModelEditor::JointsHierarchyT, ModelEditor::ChannelInspectorT, ModelEditor::MeshInspectorT, ModelEditor::TransformDialogT, ModelEditor::AnimInspectorT, ModelEditor::GuiFixInspectorT, and ModelEditor::JointInspectorT.
|
inlinevirtual |
Notifies the observer that the list of submodels has changed.
Subject | The model document with the model in which the list of submodels has changed. |
Reimplemented in ModelEditor::SubmodelsListT.