Public Types | Public Member Functions | Protected Member Functions | List of all members
ibase::CModelProxyComp Class Reference

Implementation of a model proxy for containers containing selectable model objects. More...

#include <CModelProxyComp.h>

Inheritance diagram for ibase::CModelProxyComp:
icomp::CComponentBase imod::CModelProxy icomp::IComponent imod::IModel istd::IPolymorphic istd::IPolymorphic

Public Types

typedef icomp::CComponentBase BaseClass
 
typedef imod::CModelProxy BaseClass2
 

Public Member Functions

 I_ASSIGN_TO (m_selectionModelCompPtr, m_modelSelectionCompPtr, true)
 
 CModelProxyComp ()
 
- Public Member Functions inherited from icomp::CComponentBase
 CComponentBase ()
 Create component and assign it to specific context. More...
 
virtual const ICompositeComponentGetParentComponent (bool ownerOnly=false) const
 Get parent of this component. More...
 
virtual void * GetInterface (const istd::CClassInfo &interfaceType, const QByteArray &subId="")
 Get access to specified component interface. More...
 
virtual const IComponentContextGetComponentContext () const
 Get access to component context describing all application-specified component information loaded from components registry. More...
 
virtual void SetComponentContext (const icomp::IComponentContext *contextPtr, const ICompositeComponent *parentPtr, bool isParentOwner)
 Set component context of this component. More...
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 
- Public Member Functions inherited from imod::CModelProxy
 CModelProxy ()
 
void SetModelPtr (imod::IModel *modelPtr)
 
void ResetModel ()
 
virtual bool AttachObserver (IObserver *observerPtr)
 Attaches model object to observer observerPtr. More...
 
virtual void DetachObserver (IObserver *observerPtr)
 Detaches model object from observer observerPtr. More...
 
virtual void DetachAllObservers ()
 Detaches all attached observers. More...
 
virtual bool IsAttached (const IObserver *observerPtr) const
 Returns true if observer observer is attached to this model object. More...
 

Protected Member Functions

virtual void OnComponentCreated ()
 
virtual void OnComponentDestroyed ()
 
- Protected Member Functions inherited from icomp::CComponentBase
bool IsComponentActive () const
 Check if component is active. More...
 
virtual const
icomp::IRealComponentStaticInfo
GetComponentStaticInfo () const =0
 Get access to static info of this component. More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from icomp::CComponentBase
static const
icomp::IRealComponentStaticInfo
InitStaticInfo (IComponent *componentPtr)
 
static QByteArray GetComponentId (const icomp::IComponentContext *componentContextPtr, const QByteArray &contextId=QByteArray())
 

Detailed Description

Implementation of a model proxy for containers containing selectable model objects.

Deprecated:

Definition at line 20 of file CModelProxyComp.h.

Member Typedef Documentation

Definition at line 23 of file CModelProxyComp.h.

Definition at line 24 of file CModelProxyComp.h.

Constructor & Destructor Documentation

ibase::CModelProxyComp::CModelProxyComp ( )

Member Function Documentation

ibase::CModelProxyComp::I_ASSIGN_TO ( m_selectionModelCompPtr  ,
m_modelSelectionCompPtr  ,
true   
)
virtual void ibase::CModelProxyComp::OnComponentCreated ( )
protectedvirtual

Reimplemented from icomp::CComponentBase.

virtual void ibase::CModelProxyComp::OnComponentDestroyed ( )
protectedvirtual

Reimplemented from icomp::CComponentBase.


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

© 2007-2011 Witold Gantzke and Kirill Lepskiy