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

Definition at line 64 of file DataSourceTypeManager.h.

Constructor & Destructor Documentation

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

Member Function Documentation

void te::qt::widgets::DataSourceTypeManager::add ( DataSourceType dst)
const_iterator te::qt::widgets::DataSourceTypeManager::begin ( ) const
iterator te::qt::widgets::DataSourceTypeManager::begin ( )
const_iterator te::qt::widgets::DataSourceTypeManager::end ( ) const
iterator te::qt::widgets::DataSourceTypeManager::end ( )
const DataSourceType* te::qt::widgets::DataSourceTypeManager::get ( const std::string &  name) const
static DataSourceTypeManager & te::common::Singleton< DataSourceTypeManager >::getInstance ( )
staticinherited

It returns a reference to the singleton instance.

Returns
A reference to the singleton instance.
void te::qt::widgets::DataSourceTypeManager::remove ( const std::string &  name)
std::size_t te::qt::widgets::DataSourceTypeManager::size ( ) const

Friends And Related Function Documentation

Definition at line 59 of file DataSourceTypeManager.h.

Member Data Documentation

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: