te::qt::widgets::TreeItemFactory Class Reference

A class for building layer items. More...

#include <TreeItemFactory.h>

Inheritance diagram for te::qt::widgets::TreeItemFactory:
te::common::Static

Public Types

typedef boost::function< TreeItem *(const te::map::AbstractLayerPtr &)> FactoryFnctType
 

Static Public Member Functions

static void finalize ()
 
static void initialize ()
 
static TreeItemmake (const te::map::AbstractLayerPtr &layer)
 
static void reg (const std::string &key, const FactoryFnctType &f)
 

Static Private Attributes

static std::map< std::string, FactoryFnctTypesm_factories
 

Detailed Description

A class for building layer items.

Definition at line 59 of file TreeItemFactory.h.

Member Typedef Documentation

◆ FactoryFnctType

Definition at line 63 of file TreeItemFactory.h.

Member Function Documentation

◆ finalize()

static void te::qt::widgets::TreeItemFactory::finalize ( )
static

◆ initialize()

static void te::qt::widgets::TreeItemFactory::initialize ( )
static

◆ make()

static TreeItem* te::qt::widgets::TreeItemFactory::make ( const te::map::AbstractLayerPtr layer)
static

◆ reg()

static void te::qt::widgets::TreeItemFactory::reg ( const std::string &  key,
const FactoryFnctType f 
)
static

Member Data Documentation

◆ sm_factories

std::map<std::string, FactoryFnctType> te::qt::widgets::TreeItemFactory::sm_factories
staticprivate

Definition at line 75 of file TreeItemFactory.h.


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