Public Types | Public Member Functions | Protected Member Functions | List of all members
iauth::CRightsBasedEnablerComp Class Reference

State component implementation based on underlaying rights provider. More...

#include <CRightsBasedEnablerComp.h>

Inheritance diagram for iauth::CRightsBasedEnablerComp:
icomp::CComponentBase iprm::IEnableableParam imod::TSingleModelObserverBase< iauth::IRightsProvider > icomp::IComponent iser::ISerializable imod::CSingleModelObserverBase istd::IPolymorphic istd::IChangeable imod::IObserver istd::IPolymorphic istd::IPolymorphic

Public Types

typedef icomp::CComponentBase BaseClass
< iauth::IRightsProvider

Public Member Functions

 CRightsBasedEnablerComp ()
virtual bool IsEnabled () const
virtual bool IsEnablingAllowed () const
virtual bool SetEnabled (bool isEnabled=true)
virtual bool Serialize (iser::IArchive &archive)
- 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

Protected Member Functions

virtual void OnComponentCreated ()
virtual void OnComponentDestroyed ()
virtual void OnUpdate (const istd::IChangeable::ChangeSet &changeSet)
- Protected Member Functions inherited from imod::TSingleModelObserverBase< iauth::IRightsProvider >
virtual iauth::IRightsProviderCastFromModel (imod::IModel *modelPtr) const
 TSingleModelObserverBase ()
iauth::IRightsProviderGetObservedObject () const
iauth::IRightsProviderGetObjectPtr () const
bool AttachOrSetObject (iauth::IRightsProvider *objectPtr)
virtual bool OnModelAttached (imod::IModel *modelPtr, istd::IChangeable::ChangeSet &changeMask)
virtual bool OnModelDetached (imod::IModel *modelPtr)
- Protected Member Functions inherited from imod::IObserver
virtual bool IsModelAttached (const IModel *modelPtr=NULL) const =0
virtual void BeforeUpdate (IModel *modelPtr)=0
virtual void AfterUpdate (IModel *modelPtr, const istd::IChangeable::ChangeSet &changeSet)=0

Additional Inherited Members

- Protected Types inherited from imod::TSingleModelObserverBase< iauth::IRightsProvider >
typedef CSingleModelObserverBase BaseClass
typedef iauth::IRightsProvider ModelType

Detailed Description

State component implementation based on underlaying rights provider.

Definition at line 24 of file CRightsBasedEnablerComp.h.

Member Typedef Documentation

Definition at line 30 of file CRightsBasedEnablerComp.h.

Definition at line 31 of file CRightsBasedEnablerComp.h.

Constructor & Destructor Documentation

iauth::CRightsBasedEnablerComp::CRightsBasedEnablerComp ( )

Member Function Documentation

virtual bool iauth::CRightsBasedEnablerComp::IsEnabled ( ) const
virtual bool iauth::CRightsBasedEnablerComp::IsEnablingAllowed ( ) const
virtual void iauth::CRightsBasedEnablerComp::OnComponentCreated ( )
virtual void iauth::CRightsBasedEnablerComp::OnComponentDestroyed ( )
virtual void iauth::CRightsBasedEnablerComp::OnUpdate ( const istd::IChangeable::ChangeSet changeSet)
virtual bool iauth::CRightsBasedEnablerComp::Serialize ( iser::IArchive archive)
virtual bool iauth::CRightsBasedEnablerComp::SetEnabled ( bool  isEnabled = true)

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy