Public Types | Public Member Functions | Protected Member Functions | List of all members
iwiz::CComposedStateControllerComp Class Reference

Component implementation of a wizard page. More...

#include <CComposedStateControllerComp.h>

Inheritance diagram for iwiz::CComposedStateControllerComp:
iprm::CComposedParamsSetComp imod::CMultiModelDispatcherBase iproc::IStateController icomp::CComponentBase iprm::CParamsSet istd::TIHierarchical< class > istd::IPolymorphic istd::IChangeable icomp::IComponent iprm::IParamsSet istd::IPolymorphic istd::IPolymorphic iser::IObject iser::ISerializable istd::IChangeable istd::IPolymorphic

Public Types

typedef
iprm::CComposedParamsSetComp 
BaseClass
 
typedef
imod::CMultiModelDispatcherBase 
BaseClass2
 
- Public Types inherited from iprm::CComposedParamsSetComp
enum  HierarchicalFlags
 
typedef icomp::CComponentBase BaseClass
 
typedef CParamsSet BaseClass2
 
typedef istd::TPointerVector
< ParameterInfo
ParameterInfos
 
typedef QSet< QByteArray > Ids
 
typedef Interface InterfaceType
 
- Public Types inherited from iproc::IStateController
enum  ChangeFlags { CF_STATE_ENTERED = 0x826710, CF_STATE_LEAVED, CF_GRAPH_CHANGED, CF_STATE_ENABLED }
 Data model change notification flags. More...
 

Public Member Functions

 CComposedStateControllerComp ()
 
virtual bool IsStateEnabled () const
 Check if state is enabled. More...
 
virtual bool IsStateActive () const
 Check if this state is active. More...
 
virtual bool IsEnterAllowed (bool isActionAllowed=true, const IStateController *prevStatePtr=NULL) const
 
virtual bool IsLeaveAllowed (bool isActionAllowed=true, const IStateController *nextStatePtr=NULL) const
 
virtual bool TryEnterState (bool isActionAllowed=true, const IStateController *prevStatePtr=NULL)
 
virtual bool TryLeaveState (bool isActionAllowed=true, const IStateController *nextStatePtr=NULL)
 
virtual bool IsResetAllowed () const
 Check if reseting is allowed. More...
 
- Public Member Functions inherited from iprm::CComposedParamsSetComp
virtual Ids GetParamIds (bool editableOnly=false) const
 
virtual const iser::ISerializableGetParameter (const QByteArray &id) const
 
virtual int GetHierarchicalFlags () const
 
virtual int GetChildsCount () const
 
virtual istd::IPolymorphicGetChild (int index) const
 
virtual istd::IPolymorphicGetParent () const
 
virtual bool CopyFrom (const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS)
 
 CParamsSet (const IParamsSet *slaveSetPtr=NULL)
 
const IParamsSetGetSlaveSet () const
 
void SetSlaveSet (const IParamsSet *slaveSetPtr)
 
virtual bool SetEditableParameter (const QByteArray &id, iser::ISerializable *parameterPtr, bool releaseFlag=false)
 
const ParameterInfosGetParameterInfos () const
 
const QByteArray & GetParametersTypeId () const
 
void SetParametersTypeId (const QByteArray &id)
 
virtual QByteArray GetFactoryId () const
 
virtual iser::ISerializableGetEditableParameter (const QByteArray &id)
 
virtual bool Serialize (iser::IArchive &archive)
 
virtual quint32 GetMinimalVersion (int versionId) const
 
virtual bool ResetData (CompatibilityMode mode=CM_WITHOUT_REFS)
 
- Public Member Functions inherited from icomp::IComponent
virtual const ICompositeComponentGetParentComponent (bool ownerOnly=false) const =0
 
virtual void * GetInterface (const istd::CClassInfo &interfaceType, const QByteArray &subId="")=0
 
virtual const IComponentContextGetComponentContext () const =0
 
virtual void SetComponentContext (const icomp::IComponentContext *contextPtr, const ICompositeComponent *parentPtr, bool isParentOwner)=0
 
- Public Member Functions inherited from iproc::IStateController
virtual bool IsEnterAllowed (bool isActionAllowed=true, const IStateController *prevStatePtr=NULL) const =0
 Check if entering of this page is allowed. More...
 
virtual bool IsLeaveAllowed (bool isActionAllowed=true, const IStateController *nextStatePtr=NULL) const =0
 Check if this state can be leaved. More...
 
virtual bool TryEnterState (bool isActionAllowed=true, const IStateController *prevStatePtr=NULL)=0
 Try enter this state. More...
 
virtual bool TryLeaveState (bool isActionAllowed=true, const IStateController *nextStatePtr=NULL)=0
 Try leave this state. More...
 

Protected Member Functions

void UpdateAllMembers ()
 
virtual void OnModelChanged (int modelId, const istd::IChangeable::ChangeSet &changeSet)
 
virtual void OnComponentCreated ()
 
virtual void OnComponentDestroyed ()
 
- Protected Member Functions inherited from iprm::CComposedParamsSetComp
iprm::IParamsSetGetSlaveParamsSet (int index) const
 
int GetSlaveParamsSetCount () const
 
const ParameterInfoFindParameterInfo (const QByteArray &parameterId) const
 
- Protected Member Functions inherited from iproc::IStateController
virtual bool IsEnterAllowed (bool isActionAllowed=true, const IStateController *prevStatePtr=NULL) const =0
 Check if entering of this page is allowed. More...
 
virtual bool IsLeaveAllowed (bool isActionAllowed=true, const IStateController *nextStatePtr=NULL) const =0
 Check if this state can be leaved. More...
 
virtual bool TryEnterState (bool isActionAllowed=true, const IStateController *prevStatePtr=NULL)=0
 Try enter this state. More...
 
virtual bool TryLeaveState (bool isActionAllowed=true, const IStateController *nextStatePtr=NULL)=0
 Try leave this state. More...
 

Detailed Description

Component implementation of a wizard page.

Definition at line 20 of file CComposedStateControllerComp.h.

Member Typedef Documentation

Definition at line 26 of file CComposedStateControllerComp.h.

Definition at line 27 of file CComposedStateControllerComp.h.

Constructor & Destructor Documentation

iwiz::CComposedStateControllerComp::CComposedStateControllerComp ( )

Member Function Documentation

virtual bool iwiz::CComposedStateControllerComp::IsEnterAllowed ( bool  isActionAllowed = true,
const IStateController *  prevStatePtr = NULL 
) const
virtual
virtual bool iwiz::CComposedStateControllerComp::IsLeaveAllowed ( bool  isActionAllowed = true,
const IStateController *  nextStatePtr = NULL 
) const
virtual
virtual bool iwiz::CComposedStateControllerComp::IsResetAllowed ( ) const
virtual

Check if reseting is allowed.

See Also
IsEnterAllowed.

Implements iproc::IStateController.

virtual bool iwiz::CComposedStateControllerComp::IsStateActive ( ) const
virtual

Check if this state is active.

State is active, if it was succesfully entered and becomes inactive if it was succesfully leaved.

See Also
TryEnterState and TryLeaveState.

Implements iproc::IStateController.

virtual bool iwiz::CComposedStateControllerComp::IsStateEnabled ( ) const
virtual

Check if state is enabled.

If state is disabled it will be not considered as a element of transition graph. State is disabled e.g. if some preselection turns it off.

Implements iproc::IStateController.

virtual void iwiz::CComposedStateControllerComp::OnComponentCreated ( )
protectedvirtual

Reimplemented from iprm::CComposedParamsSetComp.

virtual void iwiz::CComposedStateControllerComp::OnComponentDestroyed ( )
protectedvirtual
virtual void iwiz::CComposedStateControllerComp::OnModelChanged ( int  modelId,
const istd::IChangeable::ChangeSet changeSet 
)
protectedvirtual
virtual bool iwiz::CComposedStateControllerComp::TryEnterState ( bool  isActionAllowed = true,
const IStateController *  prevStatePtr = NULL 
)
virtual
virtual bool iwiz::CComposedStateControllerComp::TryLeaveState ( bool  isActionAllowed = true,
const IStateController *  nextStatePtr = NULL 
)
virtual
void iwiz::CComposedStateControllerComp::UpdateAllMembers ( )
protected

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy