Cafu Engine
DocAdapterI Class Referenceabstract

This class provides a common interface to the documents of the map, GUI or model editor. More...

#include "DocumentAdapter.hpp"

Inheritance diagram for DocAdapterI:

Public Member Functions

virtual const ArrayT
< EditorMaterialI * > & 
GetMaterials () const =0
 
virtual void GetUsedMaterials (ArrayT< EditorMaterialI * > &UsedMaterials) const =0
 
virtual void OnMarkMaterial (EditorMaterialI *Mat) const =0
 
virtual void OnReplaceMaterial (EditorMaterialI *Mat) const =0
 
virtual void UpdateAllObservers_VarChanged (const cf::TypeSys::VarBaseT &Var)=0
 

Detailed Description

This class provides a common interface to the documents of the map, GUI or model editor.

Using this interface, it is possible to have shared code (like the material browser, parts of the component system, and some commands) that can access a document without knowing whether it deals with (and does its work for) a map, a GUI or a model document. In summary, the shared code is nicely separated from the editor documents.


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