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 void AddControl ( CFepUiBaseCtrl * aControl )

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

Since
S60 v3.2

Parameters

CFepUiBaseCtrl * aControl Pointer to control

Construct()

IMPORT_C void Construct ( ) [protected]

Symbian second-phase constructor

Since
S60 v3.2

Control(const TInt)

IMPORT_C CFepUiBaseCtrl * Control ( const TInt aControlID ) const

Get one control from the pooling according to the control id

Since
S60 v3.2

Parameters

const TInt aControlID Control id

ControlByIndex(const TInt)

IMPORT_C CFepUiBaseCtrl * ControlByIndex ( const TInt aIndex ) const

Get the control from the pool according to the index

Since
S60 v3.2

Parameters

const TInt aIndex Index in array

ControlCount()

IMPORT_C TInt ControlCount ( ) 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 void RemoveControl ( const TInt aControlID )

Remove one control from the pooling

Since
S60 v3.2

Parameters

const TInt aControlID Control id

Reset()

IMPORT_C void Reset ( )

Remove all controls and delete them

Since
S60 v3.2

Member Data Documentation

RPointerArray< CFepUiBaseCtrl > iControlList

RPointerArray < CFepUiBaseCtrl > iControlList [private]

Control pointer array