Base implementation of component session context.
More...
#include <CComponentContext.h>
Base implementation of component session context.
This implementation uses icomp::IRegistryElement to generate lilst of attributes. Please note that resolving of exported attribute is done.
Definition at line 26 of file CComponentContext.h.
◆ CComponentContext()
◆ CalcAttributeInfo()
| bool icomp::CComponentContext::CalcAttributeInfo |
( |
const QByteArray & |
attributeId, |
|
|
AttributeInfo & |
result |
|
) |
| const |
|
protected |
◆ GetAttribute()
| virtual const iser::IObject * icomp::CComponentContext::GetAttribute |
( |
const QByteArray & |
attributeId, |
|
|
int * |
definitionLevelPtr = NULL |
|
) |
| const |
|
overridevirtual |
Get attribute using its ID.
- Parameters
-
| attributeId | ID of attribute. |
| definitionLevelPtr | optional return value. This will be set to number parents you have to iterate to get component where this attribute was defined. If this attribute was defined in actual component it equals 0. |
Implements icomp::IComponentContext.
◆ GetCompleteContextId()
| QByteArray icomp::CComponentContext::GetCompleteContextId |
( |
| ) |
const |
◆ GetContextId()
| virtual const QByteArray & icomp::CComponentContext::GetContextId |
( |
| ) |
const |
|
overridevirtual |
Get ID of this component in the context tree.
This should be unique for all elements in the same tree level.
Implements icomp::IComponentContext.
◆ GetHierarchyAddress()
| static QByteArray icomp::CComponentContext::GetHierarchyAddress |
( |
const IComponentContext * |
contextPtr | ) |
|
|
static |
◆ GetParentContext()
| virtual const IComponentContext * icomp::CComponentContext::GetParentContext |
( |
| ) |
const |
|
overridevirtual |
◆ GetRegistryElement()
| virtual const IRegistryElement & icomp::CComponentContext::GetRegistryElement |
( |
| ) |
const |
|
overridevirtual |
Get access to component registry element object.
State of the component context is based on this registry element (part of registry document describing component) and context parent.
Implements icomp::IComponentContext.
◆ GetStaticInfo()
The documentation for this class was generated from the following file: