Public Types | Protected Member Functions | List of all members
i2d::TObject2dCompWrap< BaseObject2d > Class Template Reference

Base class for all components implementing 2D objects. More...

#include <TObject2dCompWrap.h>

Inheritance diagram for i2d::TObject2dCompWrap< BaseObject2d >:
icomp::CComponentBase icomp::IComponent istd::IPolymorphic

Public Types

typedef icomp::CComponentBase BaseClass
 
typedef BaseObject2d BaseClass2
 

Protected Member Functions

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

Additional Inherited Members

- 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 ()
 
- 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

template<class BaseObject2d>
class i2d::TObject2dCompWrap< BaseObject2d >

Base class for all components implementing 2D objects.

The template parameter BaseObject2d should be set to non-component 2D object implementing interface i2d::IObject2d.

Definition at line 20 of file TObject2dCompWrap.h.

Member Typedef Documentation

template<class BaseObject2d>
typedef icomp::CComponentBase i2d::TObject2dCompWrap< BaseObject2d >::BaseClass

Definition at line 23 of file TObject2dCompWrap.h.

template<class BaseObject2d>
typedef BaseObject2d i2d::TObject2dCompWrap< BaseObject2d >::BaseClass2

Definition at line 24 of file TObject2dCompWrap.h.

Member Function Documentation

template<class BaseObject2d >
void i2d::TObject2dCompWrap< BaseObject2d >::OnComponentCreated ( )
protectedvirtual

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy