te::qt::widgets::DataSourceTypeManager Class Reference

A singleton to keep all the registered data source types. More...

#include <DataSourceTypeManager.h>

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

Public Types

typedef std::map< std::string, DataSourceType * >::const_iterator const_iterator
 
typedef std::map< std::string, DataSourceType * >::iterator iterator
 

Public Member Functions

void add (DataSourceType *dst)
 
const_iterator begin () const
 
iterator begin ()
 
const_iterator end () const
 
iterator end ()
 
const DataSourceTypeget (const std::string &name) const
 
void remove (const std::string &name)
 
std::size_t size () const
 

Static Public Member Functions

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

Protected Member Functions

 DataSourceTypeManager ()
 
 ~DataSourceTypeManager ()
 

Private Attributes

std::map< std::string, DataSourceType * > m_datasourceTypeMap
 

Friends

class te::common::Singleton< DataSourceTypeManager >
 

Detailed Description

A singleton to keep all the registered data source types.

Definition at line 57 of file DataSourceTypeManager.h.

Member Typedef Documentation

◆ const_iterator

◆ iterator

Definition at line 64 of file DataSourceTypeManager.h.

Constructor & Destructor Documentation

◆ DataSourceTypeManager()

te::qt::widgets::DataSourceTypeManager::DataSourceTypeManager ( )
protected

◆ ~DataSourceTypeManager()

te::qt::widgets::DataSourceTypeManager::~DataSourceTypeManager ( )
protected

Member Function Documentation

◆ add()

void te::qt::widgets::DataSourceTypeManager::add ( DataSourceType dst)

◆ begin() [1/2]

const_iterator te::qt::widgets::DataSourceTypeManager::begin ( ) const

◆ begin() [2/2]

iterator te::qt::widgets::DataSourceTypeManager::begin ( )

◆ end() [1/2]

const_iterator te::qt::widgets::DataSourceTypeManager::end ( ) const

◆ end() [2/2]

iterator te::qt::widgets::DataSourceTypeManager::end ( )

◆ get()

const DataSourceType* te::qt::widgets::DataSourceTypeManager::get ( const std::string &  name) const

◆ getInstance()

DataSourceTypeManager & te::common::Singleton< DataSourceTypeManager >::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.

◆ remove()

void te::qt::widgets::DataSourceTypeManager::remove ( const std::string &  name)

◆ size()

std::size_t te::qt::widgets::DataSourceTypeManager::size ( ) const

Friends And Related Function Documentation

◆ te::common::Singleton< DataSourceTypeManager >

Definition at line 59 of file DataSourceTypeManager.h.

Member Data Documentation

◆ m_datasourceTypeMap

std::map<std::string, DataSourceType*> te::qt::widgets::DataSourceTypeManager::m_datasourceTypeMap
private

Definition at line 90 of file DataSourceTypeManager.h.


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