Messages::ANodeBase Class Reference

class Messages::ANodeBase : protected NetInterfaces::TInterfaceControl

Inherits from

Public Member Functions
IMPORT_C RNodeInterface * AddClientL (const TNodeId &, const TClientType &, TAny *)
TUint CountClients (const TClientType &, const TClientType &)
IMPORT_C RNodeInterface * FindClient (const TRuntimeCtxId &)
IMPORT_C RNodeInterface * FindClientL (const TRuntimeCtxId &)
TClientIter < TTYPEMATCHPOLICY > GetClientIter (const TClientType &, const TClientType &)
RNodeInterface * GetFirstClient (const TClientType &, const TClientType &)
const TNodeId & Id ()
IMPORT_C RNodeInterface * NewClientInterfaceL (const TClientType &, TAny *)
TInt PostToClients (const TRuntimeCtxId &, const TSignalBase &, const TClientType &, const TClientType &, TUint32 , TUint32 )
IMPORT_C void RemoveClient ( RNodeInterface &)
IMPORT_C void RemoveClient ( TInt )
IMPORT_C void ReturnInterfacePtrL ( ANodeBase *&)
RNodeInterface & SelfInterface ()
Protected Member Functions
ANodeBase (const TNodeId &)
~ANodeBase ()
IMPORT_C TUint CountClients ( TClientIterBase &)
IMPORT_C RNodeInterface * DoFindClient (const TRuntimeCtxId &, TInt &)
IMPORT_C TInt PostToClients ( TClientIterBase &, const TRuntimeCtxId &, const TSignalBase &, TUint32 , TUint32 )
Public Member Type Definitions
typedef NetInterfaces::TIfStaticFetcher < NetInterfaces::TIfStaticFetcherFirstInHierarchy < NetInterfaces::TInterfaceControl >, ANodeBase , ANodeBase > TIfStaticFetcherNearestInHierarchy
Public Attributes
const TInt KInterfaceId
Protected Attributes
RPointerArray < RNodeInterface > iClients
RNodeInterface iSelfInterface

Constructor & Destructor Documentation

ANodeBase(const TNodeId &)

IMPORT_C ANodeBase ( const TNodeId & aNodeId ) [protected, explicit]

Parameters

const TNodeId & aNodeId

~ANodeBase()

IMPORT_C ~ANodeBase ( ) [protected]

Member Functions Documentation

AddClientL(const TNodeId &, const TClientType &, TAny *)

IMPORT_C RNodeInterface * AddClientL ( const TNodeId & aClientId,
const TClientType & aClientType,
TAny * aClientInfo = NULL
) [virtual]

Parameters

const TNodeId & aClientId
const TClientType & aClientType
TAny * aClientInfo = NULL

CountClients(const TClientType &, const TClientType &)

TUint CountClients ( const TClientType & aIncClientType,
const TClientType & aExcClientType = TClientType::NullType()
) const [inline]

Parameters

const TClientType & aIncClientType
const TClientType & aExcClientType = TClientType::NullType()

CountClients(TClientIterBase &)

IMPORT_C TUint CountClients ( TClientIterBase & aClientIterator ) const [protected]

Parameters

TClientIterBase & aClientIterator

DoFindClient(const TRuntimeCtxId &, TInt &)

IMPORT_C RNodeInterface * DoFindClient ( const TRuntimeCtxId & aId,
TInt & aFoundAtIndex
) const [protected]

Parameters

const TRuntimeCtxId & aId
TInt & aFoundAtIndex

FindClient(const TRuntimeCtxId &)

IMPORT_C RNodeInterface * FindClient ( const TRuntimeCtxId & aId ) const

Find specified client identified by id specified

Parameters

const TRuntimeCtxId & aId

FindClientL(const TRuntimeCtxId &)

IMPORT_C RNodeInterface * FindClientL ( const TRuntimeCtxId & aId ) const

Parameters

const TRuntimeCtxId & aId

GetClientIter(const TClientType &, const TClientType &)

TClientIter < TTYPEMATCHPOLICY > GetClientIter ( const TClientType & aIncClientType,
const TClientType & aExcClientType = TClientType::NullType()
) const [inline]

Parameters

const TClientType & aIncClientType
const TClientType & aExcClientType = TClientType::NullType()

GetFirstClient(const TClientType &, const TClientType &)

RNodeInterface * GetFirstClient ( const TClientType & aIncClientType,
const TClientType & aExcClientType = TClientType::NullType()
) const [inline]

Parameters

const TClientType & aIncClientType
const TClientType & aExcClientType = TClientType::NullType()

Id()

const TNodeId & Id ( ) const [inline]

NewClientInterfaceL(const TClientType &, TAny *)

IMPORT_C RNodeInterface * NewClientInterfaceL ( const TClientType & aClientType,
TAny * aClientInfo = NULL
) [virtual]

Parameters

const TClientType & aClientType
TAny * aClientInfo = NULL

PostToClients(const TRuntimeCtxId &, const TSignalBase &, const TClientType &, const TClientType &, TUint32, TUint32)

TInt PostToClients ( const TRuntimeCtxId & aPostFrom,
const TSignalBase & aMessage,
const TClientType & aIncClientType,
const TClientType & aExcClientType = TClientType::NullType(),
TUint32 aFlagsToSet = 0,
TUint32 aFlagsToClear = 0
) const [inline]

Parameters

const TRuntimeCtxId & aPostFrom
const TSignalBase & aMessage
const TClientType & aIncClientType
const TClientType & aExcClientType = TClientType::NullType()
TUint32 aFlagsToSet = 0
TUint32 aFlagsToClear = 0

PostToClients(TClientIterBase &, const TRuntimeCtxId &, const TSignalBase &, TUint32, TUint32)

IMPORT_C TInt PostToClients ( TClientIterBase & aClientIterator,
const TRuntimeCtxId & aPostFrom,
const TSignalBase & aMessage,
TUint32 aFlagsToSet,
TUint32 aFlagsToClear
) const [protected]

Parameters

TClientIterBase & aClientIterator
const TRuntimeCtxId & aPostFrom
const TSignalBase & aMessage
TUint32 aFlagsToSet
TUint32 aFlagsToClear

RemoveClient(RNodeInterface &)

IMPORT_C void RemoveClient ( RNodeInterface & aClient )

Parameters

RNodeInterface & aClient

RemoveClient(TInt)

IMPORT_C void RemoveClient ( TInt aIndex )

Parameters

TInt aIndex

ReturnInterfacePtrL(ANodeBase *&)

IMPORT_C void ReturnInterfacePtrL ( ANodeBase *& aInterface )

Parameters

ANodeBase *& aInterface

SelfInterface()

RNodeInterface & SelfInterface ( ) [inline]

Member Type Definitions Documentation

Member Data Documentation

const TInt KInterfaceId

const TInt KInterfaceId [static]

RPointerArray< RNodeInterface > iClients

RPointerArray < RNodeInterface > iClients [protected]

RNodeInterface iSelfInterface

RNodeInterface iSelfInterface [protected]