ICF 3.0.5.47
Technical documentation of ICF Libraries
iprm::CManagerParamsSetShadowerComp Class Reference

Keep parameter set with selected one synchronized. More...

#include <CManagerParamsSetShadowerComp.h>

Inheritance diagram for iprm::CManagerParamsSetShadowerComp:
Collaboration diagram for iprm::CManagerParamsSetShadowerComp:

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
 
CComponentBaseoperator= (const CComponentBase &)=delete
 
virtual const ICompositeComponentGetParentComponent (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 IComponentContextGetComponentContext () 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 IRealComponentStaticInfoGetComponentStaticInfo () 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 IRealComponentStaticInfoInitStaticInfo (IComponent *componentPtr)
 
static QByteArray GetComponentId (const IComponentContext *componentContextPtr, const QByteArray &contextId=QByteArray())
 

Detailed Description

Keep parameter set with selected one synchronized.

Definition at line 26 of file CManagerParamsSetShadowerComp.h.

Member Typedef Documentation

◆ BaseClass

◆ BaseClass2

Member Enumeration Documentation

◆ ModelId

Enumerator
MID_SELECTION 
MID_PARAMS_SET 

Definition at line 44 of file CManagerParamsSetShadowerComp.h.

Constructor & Destructor Documentation

◆ CManagerParamsSetShadowerComp()

iprm::CManagerParamsSetShadowerComp::CManagerParamsSetShadowerComp ( )

Member Function Documentation

◆ CopyParamsSetToShadow()

bool iprm::CManagerParamsSetShadowerComp::CopyParamsSetToShadow ( )
protected

Do copy current selected parameter set to shadow object.

◆ OnComponentCreated()

void iprm::CManagerParamsSetShadowerComp::OnComponentCreated ( )
overrideprotectedvirtual

Reimplemented from icomp::CComponentBase.

◆ OnComponentDestroyed()

void iprm::CManagerParamsSetShadowerComp::OnComponentDestroyed ( )
overrideprotectedvirtual

Reimplemented from icomp::CComponentBase.

◆ OnModelChanged()

void iprm::CManagerParamsSetShadowerComp::OnModelChanged ( int modelId,
const istd::IChangeable::ChangeSet & changeSet )
overrideprotectedvirtual

Called when some model observed by dispatcher will be changed.

Implements imod::CMultiModelDispatcherBase.


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

© Witold Gantzke and Kirill Lepskiy