![]() |
ICF 3.1.1.10
Technical documentation of ICF Libraries
|
Keep parameter set with selected one synchronized. More...
#include <CManagerParamsSetShadowerComp.h>
Public Types | |
| typedef icomp::CComponentBase | BaseClass |
| typedef imod::CMultiModelDispatcherBase | BaseClass2 |
Public Member Functions | |
| CManagerParamsSetShadowerComp () | |
Public Member Functions inherited from icomp::CComponentBase | |
| CComponentBase () | |
| Create component and assign it to specific context. | |
| CComponentBase (const CComponentBase &)=delete | |
| CComponentBase & | operator= (const CComponentBase &)=delete |
| virtual const ICompositeComponent * | GetParentComponent (bool ownerOnly=false) const |
| Get parent of this component. | |
| virtual void * | GetInterface (const istd::CClassInfo &interfaceType, const QByteArray &subId="") |
| Get access to specified component interface. | |
| virtual const IComponentContext * | GetComponentContext () const |
| Get access to component context describing all application-specified component information loaded from components registry. | |
| virtual void | SetComponentContext (const IComponentContext *contextPtr, const ICompositeComponent *parentPtr, bool isParentOwner) |
| Set component context of this component. | |
Public Member Functions inherited from icomp::IComponent | |
Protected Types | |
| enum | ModelId { MID_SELECTION , MID_PARAMS_SET } |
Protected Member Functions | |
| bool | CopyParamsSetToShadow () |
| Do copy current selected parameter set to shadow object. | |
| void | OnComponentCreated () override |
| void | OnComponentDestroyed () override |
| void | OnModelChanged (int modelId, const istd::IChangeable::ChangeSet &changeSet) override |
| Called when some model observed by dispatcher will be changed. | |
Protected Member Functions inherited from icomp::CComponentBase | |
| bool | IsComponentActive () const |
| Check if component is active. | |
| virtual const IRealComponentStaticInfo & | GetComponentStaticInfo () const =0 |
| Get access to static info of this component. | |
Protected Member Functions inherited from imod::CMultiModelDispatcherBase | |
| bool | RegisterModel (IModel *modelPtr, int modelId=0, const istd::IChangeable::ChangeSet &relevantFlags=istd::IChangeable::GetAllChanges()) |
| Register the data model to be observed. | |
| void | UnregisterModel (int modelId=0) |
| Unregister the data model object. | |
| void | UnregisterAllModels () |
| Unregister all observed data objects. | |
| template<class Object > | |
| Object * | GetObjectAt (int modelId) const |
| Get concrete object instance of the obsered model. | |
Additional Inherited Members | |
Static Protected Member Functions inherited from icomp::CComponentBase | |
| static const IRealComponentStaticInfo & | InitStaticInfo (IComponent *componentPtr) |
| static QByteArray | GetComponentId (const IComponentContext *componentContextPtr, const QByteArray &contextId=QByteArray()) |
Keep parameter set with selected one synchronized.
Definition at line 26 of file CManagerParamsSetShadowerComp.h.
Definition at line 31 of file CManagerParamsSetShadowerComp.h.
Definition at line 32 of file CManagerParamsSetShadowerComp.h.
|
protected |
| Enumerator | |
|---|---|
| MID_SELECTION | |
| MID_PARAMS_SET | |
Definition at line 44 of file CManagerParamsSetShadowerComp.h.
| iprm::CManagerParamsSetShadowerComp::CManagerParamsSetShadowerComp | ( | ) |
|
protected |
Do copy current selected parameter set to shadow object.
|
overrideprotectedvirtual |
Reimplemented from icomp::CComponentBase.
|
overrideprotectedvirtual |
Reimplemented from icomp::CComponentBase.
|
overrideprotectedvirtual |
Called when some model observed by dispatcher will be changed.
Implements imod::CMultiModelDispatcherBase.
© Witold Gantzke and Kirill Lepskiy