Abstract class to provide a surrogate or placeholder for te::qt::af::Project to control access to it. A wrapper to access without complexity. This abstract proxy is required because module not must have dependence te::qt::af. Useful to access the Layers belonging to the project. More...
#include <AbstractProxyProject.h>
Public Member Functions | |
AbstractProxyProject () | |
Constructor. More... | |
virtual te::map::AbstractLayerPtr | contains (std::string name)=0 |
Checks whether the layer is in the project. More... | |
virtual std::list< te::map::AbstractLayerPtr > | getAllLayers (bool invalid=true)=0 |
It gets all the layers (single and folder layers) of the project. More... | |
virtual const std::list< te::map::AbstractLayerPtr > | getSelectedLayers (bool invalid=true) const =0 |
It gets all the layers that are selected. More... | |
virtual | ~AbstractProxyProject () |
Destructor. More... | |
Abstract class to provide a surrogate or placeholder for te::qt::af::Project to control access to it. A wrapper to access without complexity. This abstract proxy is required because module not must have dependence te::qt::af. Useful to access the Layers belonging to the project.
Definition at line 50 of file AbstractProxyProject.h.
te::layout::AbstractProxyProject::AbstractProxyProject | ( | ) |
Constructor.
Definition at line 31 of file AbstractProxyProject.cpp.
|
virtual |
Destructor.
Definition at line 36 of file AbstractProxyProject.cpp.
|
pure virtual |
Checks whether the layer is in the project.
name | layer name to check |
Implemented in te::qt::plugins::layout::ProxyProject.
Referenced by te::layout::MapItem::updateProperties().
|
pure virtual |
It gets all the layers (single and folder layers) of the project.
invalid | If including invalid layers. |
Implemented in te::qt::plugins::layout::ProxyProject.
|
pure virtual |
It gets all the layers that are selected.
invalid | If including invalid layers. |
Implemented in te::qt::plugins::layout::ProxyProject.