CGroupListSubscriptionItem Class Reference

class CGroupListSubscriptionItem : public CXIMPSubscriptionItemBase

PSC group list subscription implementation

Since
S60 v3.2

Inherits from

Public Member Functions
~CGroupListSubscriptionItem()
IMPORT_C voidClean()
CGroupListSubscriptionItem *NewLC(MXIMPItemParentBase &)
IMPORT_C voidSetCreatedListL(RPrGrpInfoImpArray *)
IMPORT_C voidSetDeletedListL(RPrGrpInfoImpArray *)
IMPORT_C voidSetNewListL(RPrGrpInfoImpArray *)
voidSynthesiseSubscriptionEventToL(MXIMPPscContext *, TBool)
Private Member Functions
CGroupListSubscriptionItem(MXIMPItemParentBase &)
voidCleanExpired()
voidConstructL()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CObject::AccessCount()const
CObject::CObject()
CObject::Close()
CObject::Dec()
CObject::Extension_(TUint,TAny *&,TAny *)
CObject::FullName()const
CObject::Inc()
CObject::Name()const
CObject::Open()
CObject::Owner()const
CObject::SetName(const TDesC *)
CObject::SetNameL(const TDesC *)
CObject::SetOwner(CObject *)
CObject::UniqueID()const
CObject::~CObject()
CXIMPSubscriptionItemBase::ActivateSubscriberL(CXIMPSubscriptionItemBase *)
CXIMPSubscriptionItemBase::ActivateSubscriberL(MXIMPPscContext *)
CXIMPSubscriptionItemBase::AddSubscriberL(CXIMPSubscriptionItemBase *)
CXIMPSubscriptionItemBase::AddSubscriberL(MXIMPPscContext *)
CXIMPSubscriptionItemBase::BaseConstructL()
CXIMPSubscriptionItemBase::CXIMPSubscriptionItemBase(MXIMPItemParentBase &)
CXIMPSubscriptionItemBase::ChangeStatusAfterAdd()
CXIMPSubscriptionItemBase::ChangeStatusAfterRemove()
CXIMPSubscriptionItemBase::CleanIfExpired()
CXIMPSubscriptionItemBase::Context(TInt)
CXIMPSubscriptionItemBase::ContextCount()const
CXIMPSubscriptionItemBase::CountOfSubscribers()
CXIMPSubscriptionItemBase::DataSubscriptionState()
CXIMPSubscriptionItemBase::ForceClose()
CXIMPSubscriptionItemBase::IsContext(MXIMPPscContext *)const
CXIMPSubscriptionItemBase::OrderOfContexts(const MXIMPPscContext &,const MXIMPPscContext &)
CXIMPSubscriptionItemBase::OrderOfItems(const CXIMPSubscriptionItemBase &,const CXIMPSubscriptionItemBase &)
CXIMPSubscriptionItemBase::RemoveSubscriber(CXIMPSubscriptionItemBase *)
CXIMPSubscriptionItemBase::RemoveSubscriber(MXIMPPscContext *)
CXIMPSubscriptionItemBase::SetDataSubscriptionStateL(CXIMPDataSubscriptionStateImp &)
CXIMPSubscriptionItemBase::StatusLC(MXIMPPscContext *)const
CXIMPSubscriptionItemBase::SubscriptionStatus(MXIMPPscContext *)
CXIMPSubscriptionItemBase::SynthesiseSubscriptionEventToAllCtxsL()
CXIMPSubscriptionItemBase::UpdateExpirationL()
CXIMPSubscriptionItemBase::UpdateSubscriptionStateL(TSubscriptionEvent)
CXIMPSubscriptionItemBase::~CXIMPSubscriptionItemBase()
Inherited Enumerations
CXIMPSubscriptionItemBase:TSubscriptionEvent
CXIMPSubscriptionItemBase:TSubscriptionStatus
Private Attributes
RPrGrpInfoImpArray *iCreated
RPrGrpInfoImpArray *iCurrentList
RPrGrpInfoImpArray *iDeleted
RPrGrpInfoImpArray *iUpdated
Inherited Attributes
CXIMPSubscriptionItemBase::iContexts
CXIMPSubscriptionItemBase::iExpireTime
CXIMPSubscriptionItemBase::iItems
CXIMPSubscriptionItemBase::iParent
CXIMPSubscriptionItemBase::iPreContexts
CXIMPSubscriptionItemBase::iPreItems
CXIMPSubscriptionItemBase::iSubscriptionState

Constructor & Destructor Documentation

CGroupListSubscriptionItem(MXIMPItemParentBase &)

CGroupListSubscriptionItem(MXIMPItemParentBase &aParent)[private]

Construction

Parameters

MXIMPItemParentBase & aParent

~CGroupListSubscriptionItem()

~CGroupListSubscriptionItem()
Destruction
  • Remember to inform parent about delete.

Member Functions Documentation

Clean()

IMPORT_C voidClean()

Remove the temporary lists.

CleanExpired()

voidCleanExpired()[private, virtual]

ConstructL()

voidConstructL()[private]

Construction

NewLC(MXIMPItemParentBase &)

CGroupListSubscriptionItem *NewLC(MXIMPItemParentBase &aParent)[static]

Construction

Parameters

MXIMPItemParentBase & aParent

SetCreatedListL(RPrGrpInfoImpArray *)

IMPORT_C voidSetCreatedListL(RPrGrpInfoImpArray *aGroupList)

Set the created list of groups. Will set other lists accordingly. If there are no new elements (=no created groups), will simply update the display names of the existing groups, i.e. HandlePresentityGroupDisplayNameUpdatedL call handling. Ownership is transferred!

Parameters

RPrGrpInfoImpArray * aGroupListThe list of groups

SetDeletedListL(RPrGrpInfoImpArray *)

IMPORT_C voidSetDeletedListL(RPrGrpInfoImpArray *aGroupList)

Set the deleted list of groups. Will set other lists accordingly. Ownership is transferred!

Parameters

RPrGrpInfoImpArray * aGroupListThe list of groups

SetNewListL(RPrGrpInfoImpArray *)

IMPORT_C voidSetNewListL(RPrGrpInfoImpArray *aGroupList)

Set the new list of groups. Will create and set the temporary lists for created, deleted and updated lists. Ownership is transferred!

Parameters

RPrGrpInfoImpArray * aGroupListThe list of groups

SynthesiseSubscriptionEventToL(MXIMPPscContext *, TBool)

voidSynthesiseSubscriptionEventToL(MXIMPPscContext *aContext,
TBoolaForceEvent
)

Parameters

MXIMPPscContext * aContext
TBool aForceEvent

Member Data Documentation

RPrGrpInfoImpArray * iCreated

RPrGrpInfoImpArray *iCreated[private]

List of created groups (new since last update). Owned.

RPrGrpInfoImpArray * iCurrentList

RPrGrpInfoImpArray *iCurrentList[private]

Current list of groups. Owned.

RPrGrpInfoImpArray * iDeleted

RPrGrpInfoImpArray *iDeleted[private]

List of deleted groups (removed since last update). Owned.

RPrGrpInfoImpArray * iUpdated

RPrGrpInfoImpArray *iUpdated[private]

List of updated groups (same as in last update). Owned.