TSensrvResourceChannelInfo Class Reference

class TSensrvResourceChannelInfo : public TSensrvChannelInfo

The channel info contains channel basic information with knowledge of which implementation this channel belongs to.

None.
Since
S60 5.0

Inherits from

Public Member Functions
TSensrvResourceChannelInfo ()
TSensrvResourceChannelInfo (const TSensrvResourceChannelInfo &)
TSensrvResourceChannelInfo (const TSensrvChannelInfo &)
TInt CompareFindMatch (const TSensrvChannelInfo *, const TSensrvResourceChannelInfo &)
TInt CompareFindMatchReverse (const TSensrvChannelInfo *, const TSensrvChannelInfo &)
TBool IsComplete ()
TBool IsMatch (const TSensrvResourceChannelInfo &)
TBool IsMatch (const TSensrvResourceChannelInfo &, const RMessage2 &)
Inherited Functions
TSensrvChannelInfo::IsMatch(const TSensrvChannelInfo &)const
TSensrvChannelInfo::TSensrvChannelInfo()
TSensrvChannelInfo::TSensrvChannelInfo(TInt,TInt,TSensrvChannelTypeId,const TDesC8 &,const TDesC8 &,TSensrvChannelDataTypeId)
TSensrvChannelInfo::TSensrvChannelInfo(TSensrvChannelId,TInt,TInt,TSensrvChannelTypeId,const TDesC8 &,const TDesC8 &,TInt,TSensrvChannelDataTypeId)
TSensrvChannelInfo::TSensrvChannelInfo(const TSensrvChannelInfo &)
Public Member Enumerations
enum TSensrvChannelGroup { ESensrvChannelGroupNotSolved  = -1, ESensrvChannelGroupNotDefined , ESensrvChannelGroupData , ESensrvChannelGroupEvent , ESensrvChannelGroupState }
Public Attributes
TSensrvChannelGroup iChannelGroup
TBool iDynamic
TSecurityPolicy iPolicy
TUid iSsyImplementationUid
Inherited Attributes
TSensrvChannelInfo::iChannelDataTypeId
TSensrvChannelInfo::iChannelId
TSensrvChannelInfo::iChannelType
TSensrvChannelInfo::iContextType
TSensrvChannelInfo::iDataItemSize
TSensrvChannelInfo::iLocation
TSensrvChannelInfo::iQuantity
TSensrvChannelInfo::iVendorId

Constructor & Destructor Documentation

TSensrvResourceChannelInfo()

TSensrvResourceChannelInfo ( )

Constructor of the TSensrvResourceChannelInfo

TSensrvResourceChannelInfo(const TSensrvResourceChannelInfo &)

TSensrvResourceChannelInfo ( const TSensrvResourceChannelInfo & aChannelInfo )

Copy constructor of the TSensrvResourceChannelInfo .

Parameters

const TSensrvResourceChannelInfo & aChannelInfo Object to be copied to constructed object

TSensrvResourceChannelInfo(const TSensrvChannelInfo &)

TSensrvResourceChannelInfo ( const TSensrvChannelInfo & aChannelInfo )

Copy constructor of the TSensrvResourceChannelInfo .

Parameters

const TSensrvChannelInfo & aChannelInfo Object to be copied to constructed object

Member Functions Documentation

CompareFindMatch(const TSensrvChannelInfo *, const TSensrvResourceChannelInfo &)

TInt CompareFindMatch ( const TSensrvChannelInfo * aChannelInfoToMatchFrom,
const TSensrvResourceChannelInfo & aChannelInfoToMatchWith
) [static]

Compare function for match functionality

Parameters

const TSensrvChannelInfo * aChannelInfoToMatchFrom Channel info to match from. Cannot be NULL.
const TSensrvResourceChannelInfo & aChannelInfoToMatchWith Channel info to match with.

CompareFindMatchReverse(const TSensrvChannelInfo *, const TSensrvChannelInfo &)

TInt CompareFindMatchReverse ( const TSensrvChannelInfo * aChannelInfoToMatchWith,
const TSensrvChannelInfo & aChannelInfoToMatchFrom
) [static]

Compare function for match functionality

Parameters

const TSensrvChannelInfo * aChannelInfoToMatchWith Channel info to match with. Cannot be NULL.
const TSensrvChannelInfo & aChannelInfoToMatchFrom Channel info to match from.

IsComplete()

TBool IsComplete ( ) const

Checks that channel info is complete, i.e. no zero/empty fields, except channel Id, channel visibility and reserved member, which are ignored.

IsMatch(const TSensrvResourceChannelInfo &)

TBool IsMatch ( const TSensrvResourceChannelInfo & aInfo ) const

Checks if parameter info matches the old info. Channel Id and any value that is zero in aInfo are ignored.

Parameters

const TSensrvResourceChannelInfo & aInfo Object to be matched agains this object.

IsMatch(const TSensrvResourceChannelInfo &, const RMessage2 &)

TBool IsMatch ( const TSensrvResourceChannelInfo & aInfo,
const RMessage2 & aMessage
) const

Checks if parameter info matches the old info. Channel Id and any value that is zero in aInfo are ignored.

Parameters

const TSensrvResourceChannelInfo & aInfo Object to be matched agains this object.
const RMessage2 & aMessage The message containing the client request.

Member Enumerations Documentation

Enum TSensrvChannelGroup

Channel group.

Enumerators

ESensrvChannelGroupNotSolved = -1
ESensrvChannelGroupNotDefined
ESensrvChannelGroupData
ESensrvChannelGroupEvent
ESensrvChannelGroupState

Member Data Documentation

TSensrvChannelGroup iChannelGroup

TSensrvChannelGroup iChannelGroup

Channel group of this channel.

TBool iDynamic

TBool iDynamic

Indicates if channel is a dynamic channel or a static channel.

TSecurityPolicy iPolicy

TSecurityPolicy iPolicy

Security policy of the channel.

TUid iSsyImplementationUid

TUid iSsyImplementationUid

UID of the SSY implementation which this channel belongs to.