COwnPresenceSubscriptionItem Class Reference

class COwnPresenceSubscriptionItem : public CXIMPSubscriptionItemBase

PSC own presence subscription implementation

Since
S60 v3.2

Inherits from

Public Member Functions
~COwnPresenceSubscriptionItem()
IMPORT_C CPresenceInfoFilterImp *CollectSubscriptionPifWithoutCtxL(MXIMPPscContext *)
COwnPresenceSubscriptionItem *NewLC(MXIMPItemParentBase &)
IMPORT_C voidSetPresenceInfoL(CPresenceInfoImp *)
IMPORT_C voidSetSubscriptionPif(CPresenceInfoFilterImp *)
IMPORT_C CPresenceInfoFilterImp &SubscriptionPif()
voidSynthesiseSubscriptionEventToL(MXIMPPscContext *, TBool)
Private Member Functions
COwnPresenceSubscriptionItem(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
CPresenceInfoFilterImp *iPif
CPresenceInfoImp *iPresenceInfo
Inherited Attributes
CXIMPSubscriptionItemBase::iContexts
CXIMPSubscriptionItemBase::iExpireTime
CXIMPSubscriptionItemBase::iItems
CXIMPSubscriptionItemBase::iParent
CXIMPSubscriptionItemBase::iPreContexts
CXIMPSubscriptionItemBase::iPreItems
CXIMPSubscriptionItemBase::iSubscriptionState

Constructor & Destructor Documentation

COwnPresenceSubscriptionItem(MXIMPItemParentBase &)

COwnPresenceSubscriptionItem(MXIMPItemParentBase &aParent)[private]

Construction

Parameters

MXIMPItemParentBase & aParent

~COwnPresenceSubscriptionItem()

~COwnPresenceSubscriptionItem()[virtual]
Destruction
  • Remember to inform parent about delete.

Member Functions Documentation

CleanExpired()

voidCleanExpired()[private, virtual]

CollectSubscriptionPifWithoutCtxL(MXIMPPscContext *)

IMPORT_C CPresenceInfoFilterImp *CollectSubscriptionPifWithoutCtxL(MXIMPPscContext *aContext)

Collect aggregated presence information filter wihtout given context.

Parameters

MXIMPPscContext * aContext

ConstructL()

voidConstructL()[private]

Construction

NewLC(MXIMPItemParentBase &)

COwnPresenceSubscriptionItem *NewLC(MXIMPItemParentBase &aParent)[static]

Construction

Parameters

MXIMPItemParentBase & aParent

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
)

Synthesise own presence information to given context. Presence information is filtered with context pif.

Parameters

MXIMPPscContext * aContext
TBool aForceEvent

Member Data Documentation

CPresenceInfoFilterImp * iPif

CPresenceInfoFilterImp *iPif[private]

Current presence information filter.

CPresenceInfoImp * iPresenceInfo

CPresenceInfoImp *iPresenceInfo[private]

Current presence info