Nymph  v1.5.2
Flow-Based Data Processing Framework
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
KTExtensibleStructFactory< XBaseType > Class Template Reference

#include <KTExtensibleStructFactory.hh>

Inheritance diagram for KTExtensibleStructFactory< XBaseType >:
Inheritance graph

Public Types

typedef std::map< std::string, const KTExtensibleStructRegistrarBase< XBaseType > *> FactoryMap
 
typedef FactoryMap::value_type FactoryEntry
 
typedef FactoryMap::iterator FactoryIt
 
typedef FactoryMap::const_iterator FactoryCIt
 

Public Member Functions

KTExtensibleStructCore< XBaseType > * Create (const std::string &className)
 
KTExtensibleStructCore< XBaseType > * Create (const FactoryCIt &iter)
 
KTExtensibleStructCore< XBaseType > * Create (const std::string &className, KTExtensibleStructCore< XBaseType > *object)
 
KTExtensibleStructCore< XBaseType > * Create (const FactoryCIt &iter, KTExtensibleStructCore< XBaseType > *object)
 
void Register (const std::string &className, const KTExtensibleStructRegistrarBase< XBaseType > *registrar)
 
FactoryCIt GetFactoryMapBegin () const
 
FactoryCIt GetFactoryMapEnd () const
 

Protected Member Functions

 KTExtensibleStructFactory ()
 
 ~KTExtensibleStructFactory ()
 

Protected Attributes

FactoryMapfMap
 

Friends

class scarab::singleton< KTExtensibleStructFactory >
 
class scarab::destroyer< KTExtensibleStructFactory >
 

Detailed Description

template<class XBaseType>
class Nymph::KTExtensibleStructFactory< XBaseType >

Definition at line 24 of file KTExtensibleStructFactory.hh.

Member Typedef Documentation

◆ FactoryCIt

typedef FactoryMap::const_iterator FactoryCIt

Definition at line 65 of file KTExtensibleStructFactory.hh.

◆ FactoryEntry

typedef FactoryMap::value_type FactoryEntry

Definition at line 63 of file KTExtensibleStructFactory.hh.

◆ FactoryIt

typedef FactoryMap::iterator FactoryIt

Definition at line 64 of file KTExtensibleStructFactory.hh.

◆ FactoryMap

typedef std::map< std::string, const KTExtensibleStructRegistrarBase< XBaseType >* > FactoryMap

Definition at line 62 of file KTExtensibleStructFactory.hh.

Constructor & Destructor Documentation

◆ KTExtensibleStructFactory()

Definition at line 145 of file KTExtensibleStructFactory.hh.

◆ ~KTExtensibleStructFactory()

~KTExtensibleStructFactory ( )
protected

Definition at line 150 of file KTExtensibleStructFactory.hh.

Member Function Documentation

◆ Create() [1/4]

KTExtensibleStructCore< XBaseType > * Create ( const std::string &  className)

Definition at line 97 of file KTExtensibleStructFactory.hh.

◆ Create() [2/4]

KTExtensibleStructCore< XBaseType > * Create ( const FactoryCIt iter)

Definition at line 91 of file KTExtensibleStructFactory.hh.

◆ Create() [3/4]

KTExtensibleStructCore< XBaseType > * Create ( const std::string &  className,
KTExtensibleStructCore< XBaseType > *  object 
)

Definition at line 116 of file KTExtensibleStructFactory.hh.

◆ Create() [4/4]

KTExtensibleStructCore< XBaseType > * Create ( const FactoryCIt iter,
KTExtensibleStructCore< XBaseType > *  object 
)

Definition at line 110 of file KTExtensibleStructFactory.hh.

◆ GetFactoryMapBegin()

KTExtensibleStructFactory< XBaseType >::FactoryCIt GetFactoryMapBegin ( ) const

Definition at line 156 of file KTExtensibleStructFactory.hh.

◆ GetFactoryMapEnd()

KTExtensibleStructFactory< XBaseType >::FactoryCIt GetFactoryMapEnd ( ) const

Definition at line 162 of file KTExtensibleStructFactory.hh.

◆ Register()

void Register ( const std::string &  className,
const KTExtensibleStructRegistrarBase< XBaseType > *  registrar 
)

Definition at line 129 of file KTExtensibleStructFactory.hh.

Friends And Related Function Documentation

◆ scarab::destroyer< KTExtensibleStructFactory >

friend class scarab::destroyer< KTExtensibleStructFactory >
friend

Definition at line 85 of file KTExtensibleStructFactory.hh.

◆ scarab::singleton< KTExtensibleStructFactory >

friend class scarab::singleton< KTExtensibleStructFactory >
friend

Definition at line 84 of file KTExtensibleStructFactory.hh.

Member Data Documentation

◆ fMap

FactoryMap* fMap
protected

Definition at line 80 of file KTExtensibleStructFactory.hh.


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