igor::iLayerStack Class Reference

#include <iLayerStack.h>

Public Member Functions

 ~iLayerStack ()
 
void addLayer (iLayer *layer)
 
void removeLayer (iLayer *layer)
 
const std::vector< iLayer * > & getStack () const
 
void clear ()
 

Detailed Description

event base class

Constructor & Destructor Documentation

◆ ~iLayerStack()

igor::iLayerStack::~iLayerStack ( )

clean up

Member Function Documentation

◆ addLayer()

void igor::iLayerStack::addLayer ( iLayer layer)

adds layer to stack

adding a layer to the layer stack passes ownership to the layer stack

Parameters
layerthe layer to be added

◆ clear()

void igor::iLayerStack::clear ( )

clears layer stack and destoys all layers in the process

◆ getStack()

const std::vector< iLayer * > & igor::iLayerStack::getStack ( ) const
Returns
the layer stack

◆ removeLayer()

void igor::iLayerStack::removeLayer ( iLayer layer)

removes layer from stack

removing a layer from the layer stack passes ownership back to the caller

Parameters
layerthe layer to be removed

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