Cafu Engine
MapEditor::EntityInspectorDialogT Class Reference
Inheritance diagram for MapEditor::EntityInspectorDialogT:

Public Member Functions

 EntityInspectorDialogT (wxWindow *Parent, ChildFrameT *ChildFrame, const wxSize &Size)
 
void NotifySubjectChanged_Selection (SubjectT *Subject, const ArrayT< MapElementT * > &OldSelection, const ArrayT< MapElementT * > &NewSelection) override
 Notifies the observer that the selection in the current subject has been changed. More...
 
void NotifySubjectChanged_Deleted (SubjectT *Subject, const ArrayT< IntrusivePtrT< cf::GameSys::EntityT > > &Entities) override
 Notifies the observer that one or more entities have been deleted. More...
 
void NotifySubjectChanged_Modified (SubjectT *Subject, const ArrayT< MapElementT * > &MapElements, MapElemModDetailE Detail) override
 
void NotifySubjectChanged_Modified (SubjectT *Subject, const ArrayT< MapElementT * > &MapElements, MapElemModDetailE Detail, const ArrayT< BoundingBox3fT > &OldBounds) override
 
void Notify_EntChanged (SubjectT *Subject, const ArrayT< IntrusivePtrT< MapEditor::CompMapEntityT > > &Entities, EntityModDetailE Detail) override
 
void Notify_VarChanged (SubjectT *Subject, const cf::TypeSys::VarBaseT &Var) override
 Notifies the observer that a variable has changed. More...
 
void NotifySubjectDies (SubjectT *dyingSubject) override
 This method is called whenever a subject is about the be destroyed (and become unavailable). More...
 
- Public Member Functions inherited from ObserverT
virtual void NotifySubjectChanged (SubjectT *Subject, MapDocOtherDetailT OtherDetail)
 Notifies the observer that some other detail than those specifically addressed below has changed. More...
 
virtual void NotifySubjectChanged_Groups (SubjectT *Subject)
 Notifies the observer that the groups in the current subject have been changed (new group added, group deleted, visibility changed, anything). More...
 
virtual void NotifySubjectChanged_Created (SubjectT *Subject, const ArrayT< IntrusivePtrT< cf::GameSys::EntityT > > &Entities)
 Notifies the observer that one or more entities have been created. More...
 
virtual void NotifySubjectChanged_Created (SubjectT *Subject, const ArrayT< MapPrimitiveT * > &Primitives)
 Notifies the observer that one or more map primitives have been created. More...
 
virtual void NotifySubjectChanged_Deleted (SubjectT *Subject, const ArrayT< MapPrimitiveT * > &Primitives)
 Notifies the observer that one or more map primitives have been deleted. More...
 
virtual ~ObserverT ()
 The virtual destructor. More...
 

Additional Inherited Members

- Protected Member Functions inherited from ObserverT
 ObserverT ()
 The constructor. It is protected so that only derived classes can create instances of this class. More...
 

Member Function Documentation

void EntityInspectorDialogT::Notify_EntChanged ( SubjectT Subject,
const ArrayT< IntrusivePtrT< MapEditor::CompMapEntityT > > &  Entities,
EntityModDetailE  Detail 
)
overridevirtual
Parameters
SubjectThe map document in which the entities have been modified.
EntitiesList of modified map entities.
DetailInformation about what has been modified.

Reimplemented from ObserverT.

void EntityInspectorDialogT::Notify_VarChanged ( SubjectT Subject,
const cf::TypeSys::VarBaseT Var 
)
overridevirtual

Notifies the observer that a variable has changed.

Parameters
SubjectThe map document in which a variable has changed.
VarThe variable whose value has changed.

Reimplemented from ObserverT.

void EntityInspectorDialogT::NotifySubjectChanged_Deleted ( SubjectT Subject,
const ArrayT< IntrusivePtrT< cf::GameSys::EntityT > > &  Entities 
)
overridevirtual

Notifies the observer that one or more entities have been deleted.

Parameters
SubjectThe map document in which the entities have been deleted.
EntitiesList of deleted entities.

Reimplemented from ObserverT.

void EntityInspectorDialogT::NotifySubjectChanged_Modified ( SubjectT Subject,
const ArrayT< MapElementT * > &  MapElements,
MapElemModDetailE  Detail 
)
overridevirtual
Parameters
SubjectThe map document in which the elements have been modified.
MapElementsList of modified map elements.
DetailInformation about what has been modified: Can be one of MEMD_PRIMITIVE_PROPS_CHANGED, MEMD_GENERIC, MEMD_ASSIGN_PRIM_TO_ENTITY and MEMD_MATERIAL_CHANGED.

Reimplemented from ObserverT.

void EntityInspectorDialogT::NotifySubjectChanged_Modified ( SubjectT Subject,
const ArrayT< MapElementT * > &  MapElements,
MapElemModDetailE  Detail,
const ArrayT< BoundingBox3fT > &  OldBounds 
)
overridevirtual
Parameters
SubjectThe map document in which the elements have been modified.
MapElementsList of modified map elements.
DetailInformation about what has been modified: Can be MEMD_TRANSFORM or MEMD_PRIMITIVE_PROPS_CHANGED. In the case of MEMD_PRIMITIVE_PROPS_CHANGED one can assume that only map primitives (no entities) are in the MapElements array.
OldBoundsHolds the bounds of each objects BEFORE the modification (has the same size as MapElements).

Reimplemented from ObserverT.

void EntityInspectorDialogT::NotifySubjectChanged_Selection ( SubjectT Subject,
const ArrayT< MapElementT * > &  OldSelection,
const ArrayT< MapElementT * > &  NewSelection 
)
overridevirtual

Notifies the observer that the selection in the current subject has been changed.

Parameters
SubjectThe map document in which the selection has been changed.
OldSelectionArray of the previously selected objects.
NewSelectionArray of the new selected objects.

Reimplemented from ObserverT.

void EntityInspectorDialogT::NotifySubjectDies ( SubjectT dyingSubject)
overridevirtual

This method is called whenever a subject is about the be destroyed (and become unavailable).

Parameters
dyingSubjectThe subject that is being destroyed.

Implements ObserverT.


The documentation for this class was generated from the following files: