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 void SetPresenceInfoL ( CPresenceInfoImp *)
IMPORT_C void SetSubscriptionPif ( CPresenceInfoFilterImp *)
IMPORT_C CPresenceInfoFilterImp & SubscriptionPif ()
void SynthesiseSubscriptionEventToL ( MXIMPPscContext *, TBool )
Private Member Functions
COwnPresenceSubscriptionItem ( 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
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()

void CleanExpired ( ) [private, virtual]

CollectSubscriptionPifWithoutCtxL(MXIMPPscContext *)

IMPORT_C CPresenceInfoFilterImp * CollectSubscriptionPifWithoutCtxL ( MXIMPPscContext * aContext )

Collect aggregated presence information filter wihtout given context.

Parameters

MXIMPPscContext * aContext

ConstructL()

void ConstructL ( ) [private]

Construction

NewLC(MXIMPItemParentBase &)

COwnPresenceSubscriptionItem * NewLC ( MXIMPItemParentBase & aParent ) [static]

Construction

Parameters

MXIMPItemParentBase & aParent

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
)

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