The SymbologyManager is a singleton that can be used to manage all loaded symbols in TerraLib. More...
#include <SymbologyManager.h>
Public Member Functions | |
ColorManager Accessor Method | |
Method used to access the data stored on this manager. | |
void | clear () |
It inserts a new catalog that will be managed by ColorManager. More... | |
Static Public Member Functions | |
static T & | getInstance () |
It returns a reference to the singleton instance. More... | |
Private Attributes | |
std::map< std::string, Symbolizer * > | m_catalogIdxByName |
An index from catalog's name to catalog's instance (note: we can not have duplicated names). More... | |
Friends | |
class | te::common::Singleton< SymbologyManager > |
Initializer Methods | |
~SymbologyManager () | |
Destructor. More... | |
SymbologyManager () | |
It initializes the Singleton. More... | |
The SymbologyManager is a singleton that can be used to manage all loaded symbols in TerraLib.
Definition at line 55 of file SymbologyManager.h.
te::se::SymbologyManager::~SymbologyManager | ( | ) |
Destructor.
Definition at line 44 of file SymbologyManager.cpp.
|
protected |
It initializes the Singleton.
Definition at line 48 of file SymbologyManager.cpp.
void te::se::SymbologyManager::clear | ( | void | ) |
It inserts a new catalog that will be managed by ColorManager.
c | The new catalog to be managed by this manager. |
Exception | If the catalog already exists it will raise an exception. |
It removes the catalog from the system. It will not delete it from disk.
c | The catalog to be removed. |
Exception | If the catalog doesn't exist it will raise an exception. |
It returns the catalog identified by a given name or NULL if none is found.
name | The name of the catalog we are looking for. |
It returns a pair of iterators over the catalogs of this manager.
It unloads all symbols managed by SymbologyManager.
Definition at line 30 of file SymbologyManager.cpp.
References m_catalogIdxByName.
|
inlinestaticinherited |
It returns a reference to the singleton instance.
Definition at line 120 of file Singleton.h.
Referenced by BinaryLogicOpReader(), BinaryLogicOpWriter(), te::map::AbstractLayerRenderer::buildChart(), te::common::TaskProgress::cancel(), te::qt::widgets::SegmenterWizard::execute(), te::qt::widgets::Module::initialize(), te::qt::af::ApplicationController::initialize(), te::qt::af::ApplicationController::initializePlugins(), te::common::UserApplicationSettings::load(), te::qt::af::ApplicationPlugins::load(), te::qt::af::BaseApplication::makeDialog(), te::vp::IntersectionDialog::onOkPushButtonClicked(), te::vp::BufferDialog::onOkPushButtonClicked(), te::vp::AggregationDialog::onOkPushButtonClicked(), te::qt::af::BaseApplication::onStopDrawTriggered(), te::serialize::ReadFilter(), te::common::TaskProgress::setCurrentStep(), te::common::TaskProgress::setMessage(), te::color::ColorSchemeCatalog::setName(), te::common::TaskProgress::setTotalSteps(), te::common::TaskProgress::TaskProgress(), UnaryLogicOpReader(), UnaryLogicOpWriter(), and te::common::TaskProgress::~TaskProgress().
|
friend |
Definition at line 57 of file SymbologyManager.h.
|
private |
An index from catalog's name to catalog's instance (note: we can not have duplicated names).
Definition at line 132 of file SymbologyManager.h.
Referenced by clear().