|
ACF $AcfVersion:0$
|
#include <TSimComponentWrap.h>
Public Member Functions | |
| SimulationContext (const IComponentStaticInfo *infoPtr) | |
| ~SimulationContext () | |
| virtual const QByteArray & | GetContextId () const override |
| Get ID of this component in the context tree. | |
| IComponentSharedPtr | GetSubcomponent (const QByteArray &componentId) const |
| IComponentUniquePtr | CreateSubcomponent (const QByteArray &componentId) const |
Public Member Functions inherited from icomp::CSimComponentContextBase | |
| CSimComponentContextBase (const IComponentStaticInfo *infoPtr) | |
| bool | SetAttr (const QByteArray &attributeId, const iser::IObject *attributePtr) |
| Set named attribute. | |
| bool | SetRef (const QByteArray &referenceId, IComponentSharedPtr componentPtr, const QByteArray &subelementId="") |
| Set named reference to some component. | |
| bool | InsertMultiRef (const QByteArray &referenceId, IComponentSharedPtr componentPtr, const QByteArray &subelementId="") |
| Set named reference to some component. | |
| bool | SetFactory (const QByteArray &factoryId, const ComponentsFactory *factoryPtr) |
| Set factory of component instance. | |
| bool | InsertMultiFactory (const QByteArray &factoryId, const ComponentsFactory *factoryPtr) |
| Insert new factory instance into multi-factory attribute. | |
| bool | SetBoolAttr (const QByteArray &attributeId, bool value) |
Set instance of bool attribute. | |
| bool | SetIntAttr (const QByteArray &attributeId, int value) |
Set instance of int attribute. | |
| bool | SetDoubleAttr (const QByteArray &attributeId, double value) |
Set instance of double attribute. | |
| bool | SetStringAttr (const QByteArray &attributeId, const QString &value) |
Set instance of QString attribute. | |
| bool | SetIdAttr (const QByteArray &attributeId, const QByteArray &value) |
Set instance of QByteArray attribute. | |
| template<class Attribute > | |
| bool | InsertMultiAttr (const QByteArray &attributeId, const Attribute &attribute) |
| Insert new attribute to multi attributes. | |
| bool | InsertMultiAttr (const QByteArray &attributeId, const QString &attribute) |
| virtual const IRegistryElement & | GetRegistryElement () const override |
| Get access to component registry element object. | |
| virtual const IComponentStaticInfo & | GetStaticInfo () const override |
| Get component static info associated with this context. | |
| virtual const IComponentContext * | GetParentContext () const override |
| Get access to parent component context. | |
| virtual const iser::IObject * | GetAttribute (const QByteArray &attributeId, int *definitionLevelPtr=NULL) const override |
| Get attribute using its ID. | |
Public Member Functions inherited from istd::IPolymorphic | |
| virtual | ~IPolymorphic () |
Additional Inherited Members | |
Public Types inherited from icomp::CSimComponentContextBase | |
| typedef istd::TIFactory< icomp::IComponent > | ComponentsFactory |
Protected Types inherited from icomp::CSimComponentContextBase | |
| typedef QMap< QByteArray, IComponentSharedPtr > | ComponentsMap |
| typedef QMap< QByteArray, const ComponentsFactory * > | FactoriesMap |
Protected Member Functions inherited from icomp::CSimComponentContextBase | |
| template<class AttrType > | |
| bool | IsAttributeTypeCorrect (const QByteArray &attributeId) |
| Check if attribute type is corrected. | |
Static Protected Member Functions inherited from istd::CIdManipBase | |
| static bool | SplitId (const QByteArray &complexId, QByteArray &baseId, QByteArray &subId) |
| Split component ID into separated ID's. | |
| static QByteArray | JoinId (const QByteArray &baseId, const QByteArray &subId) |
| Join base component ID and sub ID into composed component ID. | |
Protected Attributes inherited from icomp::CSimComponentContextBase | |
| ComponentsMap | m_componentsMap |
| FactoriesMap | m_factoriesMap |
Definition at line 175 of file TSimComponentWrap.h.
|
inlineexplicit |
Definition at line 178 of file TSimComponentWrap.h.
|
inline |
Definition at line 183 of file TSimComponentWrap.h.
|
inline |
Definition at line 205 of file TSimComponentWrap.h.
References icomp::CSimComponentContextBase::m_factoriesMap.
Referenced by icomp::TSimComponentWrap< Base >::CreateSubcomponent().
|
inlineoverridevirtual |
Get ID of this component in the context tree.
This should be unique for all elements in the same tree level.
Implements icomp::IComponentContext.
Definition at line 188 of file TSimComponentWrap.h.
|
inline |
Definition at line 195 of file TSimComponentWrap.h.
References icomp::CSimComponentContextBase::m_componentsMap.
Referenced by icomp::TSimComponentWrap< Base >::GetSubcomponent().