|
ACF $AcfVersion:0$
|
#include <TSubelementStaticInfo.h>
Public Types | |
| typedef void *(* | InterfaceExtractorPtr) (ComponentType &component) |
Public Types inherited from icomp::IElementStaticInfo | |
| enum | MetaGroupId { MGI_INTERFACES = 0 , MGI_SUBELEMENTS , MGI_LAST = MGI_SUBELEMENTS } |
| typedef QSet< QByteArray > | Ids |
Public Member Functions | |
| TSubelementStaticInfo (const QByteArray &name, CBaseComponentStaticInfo &owner) | |
| Constructor attaching this subelement info to the component. | |
| virtual void | RegisterInterfaceExtractor (const QByteArray &interfaceName, InterfaceExtractorPtr extractorPtr) |
| Register interface ID for this static component info. | |
| virtual Ids | GetMetaIds (int metaGroupId) const override |
| Get list of meta IDs associated with some meta key. | |
| virtual const IElementStaticInfo * | GetSubelementInfo (const QByteArray &subcomponentId) const override |
| Return number of interfaces for specific slot. | |
| virtual void * | GetComponentInterface (const istd::CClassInfo &interfaceType, IComponent &component, const QByteArray &subId) const override |
| Extract instance implemented specified interface from some component. | |
Public Member Functions inherited from istd::IPolymorphic | |
| virtual | ~IPolymorphic () |
Definition at line 19 of file TSubelementStaticInfo.h.
| typedef void *(* icomp::TSubelementStaticInfo< ComponentType >::InterfaceExtractorPtr) (ComponentType &component) |
Definition at line 24 of file TSubelementStaticInfo.h.
| icomp::TSubelementStaticInfo< ComponentType >::TSubelementStaticInfo | ( | const QByteArray & | name, |
| CBaseComponentStaticInfo & | owner | ||
| ) |
Constructor attaching this subelement info to the component.
Definition at line 73 of file TSubelementStaticInfo.h.
References icomp::CBaseComponentStaticInfo::RegisterSubelementInfo().
|
overridevirtual |
Extract instance implemented specified interface from some component.
Implements icomp::IComponentInterfaceExtractor.
Definition at line 115 of file TSubelementStaticInfo.h.
References istd::CClassInfo::GetConstCasted(), istd::CClassInfo::GetName(), istd::CClassInfo::IsConst(), istd::CClassInfo::IsValid(), istd::CClassInfo::IsVoid(), and icomp::CBaseComponentStaticInfo::s_compInterfaceType.
|
overridevirtual |
Get list of meta IDs associated with some meta key.
Implements icomp::IElementStaticInfo.
Definition at line 89 of file TSubelementStaticInfo.h.
|
overridevirtual |
Return number of interfaces for specific slot.
| subcomponentId | ID of subcomponent. |
Implements icomp::IElementStaticInfo.
Definition at line 106 of file TSubelementStaticInfo.h.
|
virtual |
Register interface ID for this static component info.
This interface ID is used for static check if this component can be used to resolve reference dependecy of second one.
Definition at line 80 of file TSubelementStaticInfo.h.
Referenced by icomp::SubElementInterfaceRegistrator< InterfaceType, ComponentType >::SubElementInterfaceRegistrator().