A singleton to keep all the registered data source types. More...
#include <DataSourceTypeManager.h>
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 DataSourceType * | get (const std::string &name) const |
void | remove (const std::string &name) |
std::size_t | size () const |
Static Public Member Functions | |
static DataSourceTypeManager & | getInstance () |
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 > |
A singleton to keep all the registered data source types.
Definition at line 57 of file DataSourceTypeManager.h.
typedef std::map<std::string, DataSourceType*>::const_iterator te::qt::widgets::DataSourceTypeManager::const_iterator |
Definition at line 63 of file DataSourceTypeManager.h.
typedef std::map<std::string, DataSourceType*>::iterator te::qt::widgets::DataSourceTypeManager::iterator |
Definition at line 64 of file DataSourceTypeManager.h.
|
protected |
|
protected |
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 |
|
staticinherited |
It 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 |
|
friend |
Definition at line 59 of file DataSourceTypeManager.h.
|
private |
Definition at line 90 of file DataSourceTypeManager.h.