CPresentityGroupMembersPresenceSubscriptionItem Class Reference

class CPresentityGroupMembersPresenceSubscriptionItem : public CXIMPSubscriptionItemBase

PSC group list subscription implementation

Since
S60 v3.2

Inherits from

Public Member Functions
~CPresentityGroupMembersPresenceSubscriptionItem()
voidActivateSubscriberL(MXIMPPscContext *)
IMPORT_C voidAddSubscriberL(MXIMPPscContext *)
IMPORT_C CPresenceInfoFilterImp *CollectSubscriptionPifWithoutCtxL(MXIMPPscContext *)
IMPORT_C const MXIMPIdentity &Identity()
IMPORT_C TIntIdentityOrder(const CXIMPIdentityImp *, const CPresentityGroupMembersPresenceSubscriptionItem &)
CPresentityGroupMembersPresenceSubscriptionItem *NewLC(MXIMPItemParentBase &, CGroupContentSubscriptionItem &)
IMPORT_C TIntOrder(const CPresentityGroupMembersPresenceSubscriptionItem &, const CPresentityGroupMembersPresenceSubscriptionItem &)
IMPORT_C voidRemoveSubscriber(MXIMPPscContext *)
IMPORT_C voidSetIdentity(CXIMPIdentityImp *)
IMPORT_C voidSetPresenceInfoL(CPresenceInfoImp *)
IMPORT_C voidSetSubscriptionPif(CPresenceInfoFilterImp *)
IMPORT_C CPresenceInfoFilterImp &SubscriptionPif()
voidSynthesiseSubscriptionEventToL(MXIMPPscContext *, TBool)
Private Member Functions
CPresentityGroupMembersPresenceSubscriptionItem(MXIMPItemParentBase &, CGroupContentSubscriptionItem &)
voidCleanExpired()
voidConstructL()
voidHandleChangeL(RPrGrpMemInfoImpArray &, RPrGrpMemInfoImpArray &)
voidHandleSynthesiseL(RPrGrpMemInfoImpArray &)
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::AddSubscriberL(CXIMPSubscriptionItemBase *)
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::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
CGroupContentSubscriptionItem &iContentItem
CXIMPIdentityImp *iIdentity
CPresenceInfoFilterImp *iPif
CPresenceInfoImp *iPresenceInfo
Inherited Attributes
CXIMPSubscriptionItemBase::iContexts
CXIMPSubscriptionItemBase::iExpireTime
CXIMPSubscriptionItemBase::iItems
CXIMPSubscriptionItemBase::iParent
CXIMPSubscriptionItemBase::iPreContexts
CXIMPSubscriptionItemBase::iPreItems
CXIMPSubscriptionItemBase::iSubscriptionState

Constructor & Destructor Documentation

CPresentityGroupMembersPresenceSubscriptionItem(MXIMPItemParentBase &, CGroupContentSubscriptionItem &)

CPresentityGroupMembersPresenceSubscriptionItem(MXIMPItemParentBase &aParent,
CGroupContentSubscriptionItem &aContentItem
)[private]

Construction

Parameters

MXIMPItemParentBase & aParent
CGroupContentSubscriptionItem & aContentItem

~CPresentityGroupMembersPresenceSubscriptionItem()

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

Member Functions Documentation

ActivateSubscriberL(MXIMPPscContext *)

voidActivateSubscriberL(MXIMPPscContext *aContext)

Parameters

MXIMPPscContext * aContext

AddSubscriberL(MXIMPPscContext *)

IMPORT_C voidAddSubscriberL(MXIMPPscContext *aContext)

Parameters

MXIMPPscContext * aContext

CleanExpired()

voidCleanExpired()[private, virtual]

CollectSubscriptionPifWithoutCtxL(MXIMPPscContext *)

IMPORT_C CPresenceInfoFilterImp *CollectSubscriptionPifWithoutCtxL(MXIMPPscContext *aContext)

Collect aggregated presence information filter without given context.

Parameters

MXIMPPscContext * aContext

ConstructL()

voidConstructL()[private]

Construction

HandleChangeL(RPrGrpMemInfoImpArray &, RPrGrpMemInfoImpArray &)

voidHandleChangeL(RPrGrpMemInfoImpArray &aAdded,
RPrGrpMemInfoImpArray &aRemoved
)[private]

MGroupContentSubscriptionEventObserver

Parameters

RPrGrpMemInfoImpArray & aAdded
RPrGrpMemInfoImpArray & aRemoved

HandleSynthesiseL(RPrGrpMemInfoImpArray &)

voidHandleSynthesiseL(RPrGrpMemInfoImpArray &aAdded)[private]

MGroupContentSubscriptionEventObserver

Parameters

RPrGrpMemInfoImpArray & aAdded

Identity()

IMPORT_C const MXIMPIdentity &Identity()const

Identity of item.

IdentityOrder(const CXIMPIdentityImp *, const CPresentityGroupMembersPresenceSubscriptionItem &)

IMPORT_C TIntIdentityOrder(const CXIMPIdentityImp *aA,
const CPresentityGroupMembersPresenceSubscriptionItem &aB
)[static]

For ordering items using identity as key.

Parameters

const CXIMPIdentityImp * aAKey identity for ordering.
const CPresentityGroupMembersPresenceSubscriptionItem & aBItem to compare

NewLC(MXIMPItemParentBase &, CGroupContentSubscriptionItem &)

CPresentityGroupMembersPresenceSubscriptionItem *NewLC(MXIMPItemParentBase &aParent,
CGroupContentSubscriptionItem &aContentItem
)[static]

Construction

Parameters

MXIMPItemParentBase & aParent
CGroupContentSubscriptionItem & aContentItem

Order(const CPresentityGroupMembersPresenceSubscriptionItem &, const CPresentityGroupMembersPresenceSubscriptionItem &)

IMPORT_C TIntOrder(const CPresentityGroupMembersPresenceSubscriptionItem &aA,
const CPresentityGroupMembersPresenceSubscriptionItem &aB
)[static]

For ordering items.

Parameters

const CPresentityGroupMembersPresenceSubscriptionItem & aAKey item for ordering.
const CPresentityGroupMembersPresenceSubscriptionItem & aBItem to compare

RemoveSubscriber(MXIMPPscContext *)

IMPORT_C voidRemoveSubscriber(MXIMPPscContext *aContext)

Parameters

MXIMPPscContext * aContext

SetIdentity(CXIMPIdentityImp *)

IMPORT_C voidSetIdentity(CXIMPIdentityImp *aIdentity)

Set identity for item

Parameters

CXIMPIdentityImp * aIdentity

SetPresenceInfoL(CPresenceInfoImp *)

IMPORT_C voidSetPresenceInfoL(CPresenceInfoImp *aPresenceInfo)

Set presence information. Overwrites existing one.

Parameters

CPresenceInfoImp * aPresenceInfo

SetSubscriptionPif(CPresenceInfoFilterImp *)

IMPORT_C voidSetSubscriptionPif(CPresenceInfoFilterImp *aPif)

Set current presence information filter. Overwrites existing one. Ownership is transferred to callee.

Parameters

CPresenceInfoFilterImp * aPifCurrent presence information filter.

SubscriptionPif()

IMPORT_C CPresenceInfoFilterImp &SubscriptionPif()

Current presence information filter.

SynthesiseSubscriptionEventToL(MXIMPPscContext *, TBool)

voidSynthesiseSubscriptionEventToL(MXIMPPscContext *aContext,
TBoolaForceEvent
)

Parameters

MXIMPPscContext * aContext
TBool aForceEvent

Member Data Documentation

CGroupContentSubscriptionItem & iContentItem

CGroupContentSubscriptionItem &iContentItem[private]

Owns reference to content item. Use close for delete.

CXIMPIdentityImp * iIdentity

CXIMPIdentityImp *iIdentity[private]

Identity of item. Own

CPresenceInfoFilterImp * iPif

CPresenceInfoFilterImp *iPif[private]

Current presence information filter.

CPresenceInfoImp * iPresenceInfo

CPresenceInfoImp *iPresenceInfo[private]

Current presence info for item Own