CPresentityGroupMembersPresenceSubscriptionItem Class Reference

class CPresentityGroupMembersPresenceSubscriptionItem : public CXIMPSubscriptionItemBase

PSC group list subscription implementation

Since
S60 v3.2

Inherits from

Public Member Functions
~CPresentityGroupMembersPresenceSubscriptionItem ()
void ActivateSubscriberL ( MXIMPPscContext *)
IMPORT_C void AddSubscriberL ( MXIMPPscContext *)
IMPORT_C CPresenceInfoFilterImp * CollectSubscriptionPifWithoutCtxL ( MXIMPPscContext *)
IMPORT_C const MXIMPIdentity & Identity ()
IMPORT_C TInt IdentityOrder (const CXIMPIdentityImp *, const CPresentityGroupMembersPresenceSubscriptionItem &)
CPresentityGroupMembersPresenceSubscriptionItem * NewLC ( MXIMPItemParentBase &, CGroupContentSubscriptionItem &)
IMPORT_C TInt Order (const CPresentityGroupMembersPresenceSubscriptionItem &, const CPresentityGroupMembersPresenceSubscriptionItem &)
IMPORT_C void RemoveSubscriber ( MXIMPPscContext *)
IMPORT_C void SetIdentity (CXIMPIdentityImp *)
IMPORT_C void SetPresenceInfoL ( CPresenceInfoImp *)
IMPORT_C void SetSubscriptionPif ( CPresenceInfoFilterImp *)
IMPORT_C CPresenceInfoFilterImp & SubscriptionPif ()
void SynthesiseSubscriptionEventToL ( MXIMPPscContext *, TBool )
Private Member Functions
CPresentityGroupMembersPresenceSubscriptionItem ( MXIMPItemParentBase &, CGroupContentSubscriptionItem &)
void CleanExpired ()
void ConstructL ()
void HandleChangeL ( RPrGrpMemInfoImpArray &, RPrGrpMemInfoImpArray &)
void HandleSynthesiseL ( 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 *)

void ActivateSubscriberL ( MXIMPPscContext * aContext )

Parameters

MXIMPPscContext * aContext

AddSubscriberL(MXIMPPscContext *)

IMPORT_C void AddSubscriberL ( MXIMPPscContext * aContext )

Parameters

MXIMPPscContext * aContext

CleanExpired()

void CleanExpired ( ) [private, virtual]

CollectSubscriptionPifWithoutCtxL(MXIMPPscContext *)

IMPORT_C CPresenceInfoFilterImp * CollectSubscriptionPifWithoutCtxL ( MXIMPPscContext * aContext )

Collect aggregated presence information filter without given context.

Parameters

MXIMPPscContext * aContext

ConstructL()

void ConstructL ( ) [private]

Construction

HandleChangeL(RPrGrpMemInfoImpArray &, RPrGrpMemInfoImpArray &)

void HandleChangeL ( RPrGrpMemInfoImpArray & aAdded,
RPrGrpMemInfoImpArray & aRemoved
) [private]

MGroupContentSubscriptionEventObserver

HandleSynthesiseL(RPrGrpMemInfoImpArray &)

void HandleSynthesiseL ( RPrGrpMemInfoImpArray & aAdded ) [private]

MGroupContentSubscriptionEventObserver

Parameters

RPrGrpMemInfoImpArray & aAdded

Identity()

IMPORT_C const MXIMPIdentity & Identity ( ) const

Identity of item.

IdentityOrder(const CXIMPIdentityImp *, const CPresentityGroupMembersPresenceSubscriptionItem &)

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

For ordering items using identity as key.

Parameters

const CXIMPIdentityImp * aA Key identity for ordering.
const CPresentityGroupMembersPresenceSubscriptionItem & aB Item 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 TInt Order ( const CPresentityGroupMembersPresenceSubscriptionItem & aA,
const CPresentityGroupMembersPresenceSubscriptionItem & aB
) [static]

For ordering items.

Parameters

const CPresentityGroupMembersPresenceSubscriptionItem & aA Key item for ordering.
const CPresentityGroupMembersPresenceSubscriptionItem & aB Item to compare

RemoveSubscriber(MXIMPPscContext *)

IMPORT_C void RemoveSubscriber ( MXIMPPscContext * aContext )

Parameters

MXIMPPscContext * aContext

SetIdentity(CXIMPIdentityImp *)

IMPORT_C void SetIdentity ( CXIMPIdentityImp * aIdentity )

Set identity for item

Parameters

CXIMPIdentityImp * aIdentity

SetPresenceInfoL(CPresenceInfoImp *)

IMPORT_C void SetPresenceInfoL ( CPresenceInfoImp * aPresenceInfo )

Set presence information. Overwrites existing one.

Parameters

CPresenceInfoImp * aPresenceInfo

SetSubscriptionPif(CPresenceInfoFilterImp *)

IMPORT_C void SetSubscriptionPif ( CPresenceInfoFilterImp * aPif )

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

Parameters

CPresenceInfoFilterImp * aPif Current presence information filter.

SubscriptionPif()

IMPORT_C CPresenceInfoFilterImp & SubscriptionPif ( )

Current presence information filter.

SynthesiseSubscriptionEventToL(MXIMPPscContext *, TBool)

void SynthesiseSubscriptionEventToL ( MXIMPPscContext * aContext,
TBool aForceEvent
)

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