CPresentityPresenceSubscriptionItem Class Reference

class CPresentityPresenceSubscriptionItem : public CXIMPSubscriptionItemBase

PSC group list subscription implementation

Since
S60 v3.2

Inherits from

Public Member Functions
~CPresentityPresenceSubscriptionItem ()
IMPORT_C CPresenceInfoFilterImp * CollectSubscriptionPifWithoutCtxL ( MXIMPPscContext *)
IMPORT_C const MXIMPIdentity * GroupIdentity ()
IMPORT_C const MXIMPIdentity & Identity ()
IMPORT_C TInt IdentityOrder (const CXIMPIdentityImp *, const CPresentityPresenceSubscriptionItem &)
CPresentityPresenceSubscriptionItem * NewLC ( MXIMPItemParentBase &, const CXIMPIdentityImp &)
IMPORT_C TInt Order (const CPresentityPresenceSubscriptionItem &, const CPresentityPresenceSubscriptionItem &)
IMPORT_C void SetGroupIdentity (CXIMPIdentityImp *)
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
CPresentityPresenceSubscriptionItem ( MXIMPItemParentBase &)
void CleanExpired ()
void ConstructL (const CXIMPIdentityImp &)
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
CXIMPIdentityImp * iGroupIdentity
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

CPresentityPresenceSubscriptionItem(MXIMPItemParentBase &)

CPresentityPresenceSubscriptionItem ( MXIMPItemParentBase & aParent ) [private]

Construction

Parameters

MXIMPItemParentBase & aParent

~CPresentityPresenceSubscriptionItem()

~CPresentityPresenceSubscriptionItem ( )
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 without given context.

Parameters

MXIMPPscContext * aContext

ConstructL(const CXIMPIdentityImp &)

void ConstructL ( const CXIMPIdentityImp & aIdentity ) [private]

Construction

Parameters

const CXIMPIdentityImp & aIdentity

GroupIdentity()

IMPORT_C const MXIMPIdentity * GroupIdentity ( ) const

Group Identity of item.

Identity()

IMPORT_C const MXIMPIdentity & Identity ( ) const

Identity of item.

IdentityOrder(const CXIMPIdentityImp *, const CPresentityPresenceSubscriptionItem &)

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

For ordering items using identity as key.

Parameters

const CXIMPIdentityImp * aA Key identity for ordering.
const CPresentityPresenceSubscriptionItem & aB Item to compare

NewLC(MXIMPItemParentBase &, const CXIMPIdentityImp &)

CPresentityPresenceSubscriptionItem * NewLC ( MXIMPItemParentBase & aParent,
const CXIMPIdentityImp & aIdentity
) [static]

Construction

Parameters

MXIMPItemParentBase & aParent
const CXIMPIdentityImp & aIdentity

Order(const CPresentityPresenceSubscriptionItem &, const CPresentityPresenceSubscriptionItem &)

IMPORT_C TInt Order ( const CPresentityPresenceSubscriptionItem & aA,
const CPresentityPresenceSubscriptionItem & aB
) [static]

For ordering items.

Parameters

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

SetGroupIdentity(CXIMPIdentityImp *)

IMPORT_C void SetGroupIdentity ( CXIMPIdentityImp * aGroup )

Set group identity for item

Parameters

CXIMPIdentityImp * aGroup

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

CXIMPIdentityImp * iGroupIdentity

CXIMPIdentityImp * iGroupIdentity [private]

Identity of group item TODO: must be an array own

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