Messages::TRuntimeCtxId Class Reference
class Messages::TRuntimeCtxId
|
TRuntimeCtxId
is the baseclass intended for addressing message (
TSignalBase
) destinations, i.e.: As implied by the respective API, the sender of a
TSignalBase
must supply a
TRuntimeCtxId
object.
TRuntimeCtxId
defines the maximum size of the addressing structure and its bedrock composition (namely: the destination thread of execution).
TSignalBase
Constructor & Destructor Documentation
TRuntimeCtxId()
IMPORT_C
|
TRuntimeCtxId
|
(
|
)
|
[explicit]
|
TRuntimeCtxId(const TRuntimeCtxId &)
TRuntimeCtxId(TUint8)
IMPORT_C
|
TRuntimeCtxId
|
(
|
TUint8
|
aSize
|
)
|
[protected, explicit]
|
Parameters
TUint8
aSize
|
size in bytes of the new id
|
Member Functions Documentation
ComparePart(const TRuntimeCtxId &, TUint8)
Compare the first aSize bytes of this runtime context id with aRHS
Parameters
const
TRuntimeCtxId
& aRHS
|
runtime context id to compare against
|
TUint8
aSize
|
number of bytes to compare
|
IsNull()
TBool
|
IsNull
|
(
|
)
|
const [inline]
|
PostTo(const TRuntimeCtxId &, const TSignalBase &)
IMPORT_C void
|
PostTo
|
(
|
const
TRuntimeCtxId
&
|
aPostFrom,
|
|
const
TSignalBase
&
|
aMessage
|
|
)
|
const
|
Post a message to the addressed object.
Parameters
const
TRuntimeCtxId
& aPostFrom
|
address of sender
|
const
TSignalBase
& aMessage
|
message to send
|
Salt()
TUint8
|
Salt
|
(
|
)
|
const [inline]
|
SetNull()
void
|
SetNull
|
(
|
)
|
[inline]
|
Size()
TUint8
|
Size
|
(
|
)
|
const [inline]
|
Store(TDes8 &)
IMPORT_C
TInt
|
Store
|
(
|
TDes8
&
|
aDes
|
)
|
const
|
Serialise into a descriptor
Parameters
TDes8
& aDes
|
descriptor to serialise into
|
operator!=(const TRuntimeCtxId &)
operator=(const TRuntimeCtxId &)
Assignment operator. Copies contents of the passed in runtime context id into this runtime context id.
operator==(const TRuntimeCtxId &)
Compare the contents of this runtime context id to the contents of another. Only iSize bytes are compared, so if aRHS is bigger than the runtime context id it is being compared to any byte greater than iSize will not be compared.
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.