Manages the layers. More...
Public Types | |
typedef std::vector < VgEngine::VgRefPtr < VgEngine::VgLayer > > | LayerList |
A collection of VgEngine::VgLayer instances. | |
Public Member Functions | |
VgLayerManager (VgIEngine *pEngine) | |
Creates a layer manager for the provided engine. | |
~VgLayerManager () | |
Creates a layer manager for the provided engine. | |
VgEngine::VgRefPtr < VgEngine::VgLayer > | editLayer (const std::string &pName) |
Access a VgLayer using it's name. | |
const LayerList & | getLayers () const |
Const access to the VgLayer collection. | |
LayerList & | editLayers () |
Access to the VgLayer collection. | |
Friends | |
class | VgObjectBridge |
Manages the layers.
typedef std::vector< VgEngine::VgRefPtr< VgEngine::VgLayer > > VgEngine::VgLayerManager::LayerList |
A collection of VgEngine::VgLayer instances.
VgEngine::VgLayerManager::VgLayerManager | ( | VgIEngine * | pEngine ) |
Creates a layer manager for the provided engine.
Public code should not call this. Instead, use the instance provided by VgEngine::VgIEngine.
pEngine | The engine instance this layer manager is built on. |
VgEngine::VgLayerManager::~VgLayerManager | ( | ) |
Creates a layer manager for the provided engine.
Public code should not call this. Instead, use the instance provided by VgEngine::VgIEngine.
VgEngine::VgRefPtr< VgEngine::VgLayer > VgEngine::VgLayerManager::editLayer | ( | const std::string & | pName ) |
Access a VgLayer using it's name.
pName | The name of the accessed layer. |
LayerList& VgEngine::VgLayerManager::editLayers | ( | ) |
Access to the VgLayer collection.
const LayerList& VgEngine::VgLayerManager::getLayers | ( | ) | const |
Const access to the VgLayer collection.
friend class VgObjectBridge [friend] |