te::qt::widgets::SymbolLibraryManager Class Reference

The SymbolLibraryManager is a singleton that can be used to manage all loaded symbol libraries in TerraLib. More...

#include <SymbolLibraryManager.h>

Inheritance diagram for te::qt::widgets::SymbolLibraryManager:
te::common::Singleton< SymbolLibraryManager >

Public Member Functions

SymbolLibrarygetLibrary () const
 It returns the symbol library identified by a given name or NULL if none is found. More...
 
virtual ~SymbolLibraryManager ()=default
 Destructor. More...
 

Static Public Member Functions

static SymbolLibraryManagergetInstance ()
 It returns a reference to the singleton instance. More...
 

Protected Member Functions

 SymbolLibraryManager ()
 It initializes the Singleton. More...
 

Private Attributes

std::unique_ptr< SymbolLibrarym_symbolLibrary
 The set of symbol libraries. More...
 

Friends

class te::common::Singleton< SymbolLibraryManager >
 

Detailed Description

The SymbolLibraryManager is a singleton that can be used to manage all loaded symbol libraries in TerraLib.

See also
Symbol, SymbolLibrary, Singleton

Definition at line 55 of file SymbolLibraryManager.h.

Constructor & Destructor Documentation

◆ ~SymbolLibraryManager()

virtual te::qt::widgets::SymbolLibraryManager::~SymbolLibraryManager ( )
virtualdefault

Destructor.

◆ SymbolLibraryManager()

te::qt::widgets::SymbolLibraryManager::SymbolLibraryManager ( )
protected

It initializes the Singleton.

Member Function Documentation

◆ getInstance()

SymbolLibraryManager & te::common::Singleton< SymbolLibraryManager >::getInstance ( )
inlinestaticinherited

It returns a reference to the singleton instance.

Returns
A reference to the singleton instance.

Definition at line 126 of file Singleton.h.

◆ getLibrary()

SymbolLibrary* te::qt::widgets::SymbolLibraryManager::getLibrary ( ) const

It returns the symbol library identified by a given name or NULL if none is found.

Parameters
nameThe name of the symbol library we are looking for.
Returns
A pointer to a symbol library or NULL if none is found.

Friends And Related Function Documentation

◆ te::common::Singleton< SymbolLibraryManager >

Definition at line 57 of file SymbolLibraryManager.h.

Member Data Documentation

◆ m_symbolLibrary

std::unique_ptr<SymbolLibrary> te::qt::widgets::SymbolLibraryManager::m_symbolLibrary
private

The set of symbol libraries.

Definition at line 82 of file SymbolLibraryManager.h.


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