Public Types | Protected Member Functions | List of all members
ibase::TComposedFactoryComp< Interface > Class Template Reference

#include <TComposedFactoryComp.h>

Inheritance diagram for ibase::TComposedFactoryComp< Interface >:
icomp::CComponentBase istd::TComposedFactory< Interface > icomp::IComponent istd::TIFactory< Interface > istd::IPolymorphic istd::IFactoryInfo istd::IPolymorphic

Public Types

typedef icomp::CComponentBase BaseClass
 
typedef istd::TComposedFactory
< Interface > 
BaseClass2
 
- Public Types inherited from istd::TComposedFactory< Interface >
typedef TIFactory< Interface > FactoryInterface
 
- Public Types inherited from istd::TIFactory< Interface >
typedef Interface InterfaceType
 
- Public Types inherited from istd::IFactoryInfo
typedef QSet< QByteArray > KeyList
 

Protected Member Functions

virtual void OnComponentCreated ()
 
- Protected Member Functions inherited from icomp::CComponentBase
bool IsComponentActive () const
 Check if component is active. More...
 
virtual void OnComponentDestroyed ()
 
virtual const
icomp::IRealComponentStaticInfo
GetComponentStaticInfo () const =0
 Get access to static info of this component. More...
 

Additional Inherited Members

- Public Member Functions inherited from icomp::CComponentBase
 CComponentBase ()
 Create component and assign it to specific context. More...
 
virtual const ICompositeComponentGetParentComponent (bool ownerOnly=false) const
 Get parent of this component. More...
 
virtual void * GetInterface (const istd::CClassInfo &interfaceType, const QByteArray &subId="")
 Get access to specified component interface. More...
 
virtual const IComponentContextGetComponentContext () const
 Get access to component context describing all application-specified component information loaded from components registry. More...
 
virtual void SetComponentContext (const icomp::IComponentContext *contextPtr, const ICompositeComponent *parentPtr, bool isParentOwner)
 Set component context of this component. More...
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 
- Public Member Functions inherited from istd::TComposedFactory< Interface >
bool RegisterFactory (FactoryInterface *factoryPtr, bool releaseFlag=false)
 Registers object factory factoryPtr that will be mapped to the keyId. More...
 
virtual IFactoryInfo::KeyList GetFactoryKeys () const
 Returns all posible keys for this factory. More...
 
virtual Interface * CreateInstance (const QByteArray &keyId="") const
 Create an instance of the object, mapped to the keyId keyId. More...
 
- Protected Types inherited from istd::TComposedFactory< Interface >
typedef istd::TOptDelPtr
< FactoryInterface
FactoryPtr
 
typedef QList< FactoryPtrFactoryList
 
- Static Protected Member Functions inherited from icomp::CComponentBase
static const
icomp::IRealComponentStaticInfo
InitStaticInfo (IComponent *componentPtr)
 
static QByteArray GetComponentId (const icomp::IComponentContext *componentContextPtr, const QByteArray &contextId=QByteArray())
 
- Protected Attributes inherited from istd::TComposedFactory< Interface >
FactoryList m_factoryList
 

Detailed Description

template<class Interface>
class ibase::TComposedFactoryComp< Interface >

Definition at line 15 of file TComposedFactoryComp.h.

Member Typedef Documentation

template<class Interface >
typedef icomp::CComponentBase ibase::TComposedFactoryComp< Interface >::BaseClass

Definition at line 18 of file TComposedFactoryComp.h.

template<class Interface >
typedef istd::TComposedFactory<Interface> ibase::TComposedFactoryComp< Interface >::BaseClass2

Definition at line 19 of file TComposedFactoryComp.h.

Member Function Documentation

template<class Interface >
void ibase::TComposedFactoryComp< Interface >::OnComponentCreated ( )
protectedvirtual

Reimplemented from icomp::CComponentBase.

Definition at line 40 of file TComposedFactoryComp.h.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy