CGroupListSubscriptionItem Class Reference

class CGroupListSubscriptionItem : public CXIMPSubscriptionItemBase

PSC group list subscription implementation

Since
S60 v3.2

Inherits from

Public Member Functions
~CGroupListSubscriptionItem ()
IMPORT_C void Clean ()
CGroupListSubscriptionItem * NewLC ( MXIMPItemParentBase &)
IMPORT_C void SetCreatedListL ( RPrGrpInfoImpArray *)
IMPORT_C void SetDeletedListL ( RPrGrpInfoImpArray *)
IMPORT_C void SetNewListL ( RPrGrpInfoImpArray *)
void SynthesiseSubscriptionEventToL ( MXIMPPscContext *, TBool )
Private Member Functions
CGroupListSubscriptionItem ( MXIMPItemParentBase &)
void CleanExpired ()
void ConstructL ()
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 void Clean ( )

Remove the temporary lists.

CleanExpired()

void CleanExpired ( ) [private, virtual]

ConstructL()

void ConstructL ( ) [private]

Construction

NewLC(MXIMPItemParentBase &)

CGroupListSubscriptionItem * NewLC ( MXIMPItemParentBase & aParent ) [static]

Construction

Parameters

MXIMPItemParentBase & aParent

SetCreatedListL(RPrGrpInfoImpArray *)

IMPORT_C void SetCreatedListL ( 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 * aGroupList The list of groups

SetDeletedListL(RPrGrpInfoImpArray *)

IMPORT_C void SetDeletedListL ( RPrGrpInfoImpArray * aGroupList )

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

Parameters

RPrGrpInfoImpArray * aGroupList The list of groups

SetNewListL(RPrGrpInfoImpArray *)

IMPORT_C void SetNewListL ( 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 * aGroupList The list of groups

SynthesiseSubscriptionEventToL(MXIMPPscContext *, TBool)

void SynthesiseSubscriptionEventToL ( MXIMPPscContext * aContext,
TBool aForceEvent
)

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.