CPeninputCtrlPool Class Reference

class CPeninputCtrlPool : public CBase

Peninput control pool class

This class is control pool. Application can use this class to manage their controls. Control creates out side and add itself to this pool. Application can get and remove one control based on control id.

peninputcommonlayout.lib
Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

~CPeninputCtrlPool()

IMPORT_C~CPeninputCtrlPool()[virtual]

Destructor, it need to destroy all controls

Since
S60 v3.2

Member Functions Documentation

AddControl(CFepUiBaseCtrl *)

IMPORT_C voidAddControl(CFepUiBaseCtrl *aControl)

Add one control to the pooling, the control should have one control id

Since
S60 v3.2

Parameters

CFepUiBaseCtrl * aControlPointer to control

Construct()

IMPORT_C voidConstruct()[protected]

Symbian second-phase constructor

Since
S60 v3.2

Control(const TInt)

IMPORT_C CFepUiBaseCtrl *Control(const TIntaControlID)const

Get one control from the pooling according to the control id

Since
S60 v3.2

Parameters

const TInt aControlIDControl id

ControlByIndex(const TInt)

IMPORT_C CFepUiBaseCtrl *ControlByIndex(const TIntaIndex)const

Get the control from the pool according to the index

Since
S60 v3.2

Parameters

const TInt aIndexIndex in array

ControlCount()

IMPORT_C TIntControlCount()const

Get current control count in this pool

Since
S60 v3.2

NewL()

IMPORT_C CPeninputCtrlPool *NewL()[static]

Symbian constructor

Since
S60 v3.2

NewLC()

IMPORT_C CPeninputCtrlPool *NewLC()[static]

Symbian constructor

Since
S60 v3.2

RemoveControl(const TInt)

IMPORT_C voidRemoveControl(const TIntaControlID)

Remove one control from the pooling

Since
S60 v3.2

Parameters

const TInt aControlIDControl id

Reset()

IMPORT_C voidReset()

Remove all controls and delete them

Since
S60 v3.2

Member Data Documentation

RPointerArray< CFepUiBaseCtrl > iControlList

RPointerArray< CFepUiBaseCtrl >iControlList[private]

Control pointer array