Messages::TNodeId Class Reference

class Messages::TNodeId : public Messages::TRuntimeCtxId

TNodeId enriches TRuntimeCtxId to enable addressing an object ( ANode ) 'present' in the destination thread of execution. The Distributed Object Model (i.e.: this component) defines a scheme whereby objects (MNodes) running in different runtime contexts can communicate. It is assumed that an object only ever runs in a single runtime context and hence its code isn't reentrant. If it were, the object would have potentially as many identities as there are threads executing the object's code.

Inherits from

Constructor & Destructor Documentation

TNodeId()

IMPORT_C TNodeId ( ) [explicit]

TNodeId(const TNodeId &)

IMPORT_C TNodeId ( const TNodeId & aNodeId )

Copy constructor.

Parameters

const TNodeId & aNodeId node id to copy

TNodeId(TUint8)

IMPORT_C TNodeId ( TUint8 aSize ) [protected, explicit]

Parameters

TUint8 aSize

Member Functions Documentation

Node()

ANode & Node ( ) const [inline]

NullId()

IMPORT_C const TNodeId & NullId ( ) [static]

Ptr()

TAny * Ptr ( ) const [inline]

operator!=(const TNodeId &)

TBool operator!= ( const TNodeId & aRHS ) const [inline]

Is not equal to operator.

Parameters

const TNodeId & aRHS node id to compare to

operator=(const TRuntimeCtxId &)

IMPORT_C const TNodeId & operator= ( const TRuntimeCtxId & aRHS )

Assignment operator. Copies contents of the passed in node id to this node id. aRHS is passed in as a TRuntimeCtxId . The size of this object must be greater or equal to the size of the target node id. Otherwise as panic will occur.

Parameters

const TRuntimeCtxId & aRHS node id to copy

Member Type Definitions Documentation

Typedef TRemainder

typedef TNodeIdRemainder TRemainder

Member Data Documentation

TAny * iPtr

TAny * iPtr [private]