MeshMachine::CNodeParallelActivityBase Class Reference

class MeshMachine::CNodeParallelActivityBase : public MeshMachine::CNodeActivityBase

Activity type that generates a unique activity id every time it is instantiated. The id is generated from the <TNodeActivityId::EActivityParallelRangeMin ,TCFNodeActivityId::EActivityParallelRangeMax> range. The id should never be found in a static activity map. A new instance id is created rather than adding a new originator to the existing activity.

Inherits from

Public Member Functions
IMPORT_C TUint16 ActivityId ()
IMPORT_C CNodeActivityBase * NewL (const TNodeActivity &, AMMNodeBase &)
Protected Member Functions
CNodeParallelActivityBase (const TNodeActivity &, AMMNodeBase &, TUint )
IMPORT_C TUint GetNextActivityCount (const TNodeActivity &, const AMMNodeBase &)
TUint GetNextActivityCountL (const TNodeActivity &, const AMMNodeBase &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
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()
MeshMachine::CNodeActivityBase::Abort(TNodeContextBase &,TBool)
MeshMachine::CNodeActivityBase::Accept(TNodeContextBase &,const TNodeActivity &,TInt)
MeshMachine::CNodeActivityBase::ActivitySigId()const
MeshMachine::CNodeActivityBase::AppendActivityL()
MeshMachine::CNodeActivityBase::AppendPreallocatedActivity()
MeshMachine::CNodeActivityBase::BorrowPreallocatedSpace(AMMNodeBase &,TUint)
MeshMachine::CNodeActivityBase::CNodeActivityBase(const TNodeActivity &,AMMNodeBase &)
MeshMachine::CNodeActivityBase::Cancel(TNodeContextBase &)
MeshMachine::CNodeActivityBase::ClearPostedTo()
MeshMachine::CNodeActivityBase::Destroy()
MeshMachine::CNodeActivityBase::DoFetchInterfaceControlL(TInt)
MeshMachine::CNodeActivityBase::Error()const
MeshMachine::CNodeActivityBase::FindOriginator(const Messages::RNodeInterface &)const
MeshMachine::CNodeActivityBase::FindOriginator(const Messages::TNodePeerId &)const
MeshMachine::CNodeActivityBase::FindOriginator(const Messages::TRuntimeCtxId &)const
MeshMachine::CNodeActivityBase::FirstOriginator()const
MeshMachine::CNodeActivityBase::InsertPreallocatedDestroyActivity()
MeshMachine::CNodeActivityBase::IsIdle()const
MeshMachine::CNodeActivityBase::KickOffMessageId()const
MeshMachine::CNodeActivityBase::MatchSender(const TNodeContextBase &)const
MeshMachine::CNodeActivityBase::Next(TNodeContextBase &)
MeshMachine::CNodeActivityBase::PostRequestTo(const Messages::RNodeInterface &,const Messages::TSignalBase &,const TBool)
MeshMachine::CNodeActivityBase::PostRequestTo(const Messages::TNodeId &,const Messages::TSignalBase &,const TBool)
MeshMachine::CNodeActivityBase::PostToOriginator(const Messages::TNodePeerId &,const Messages::TSignalBase &)const
MeshMachine::CNodeActivityBase::PostToOriginators(const Messages::TSignalBase &,TUint32,TUint32)
MeshMachine::CNodeActivityBase::PostedToNodeId()const
MeshMachine::CNodeActivityBase::PostedToPeer()const
MeshMachine::CNodeActivityBase::RemoveOriginator(TInt)
MeshMachine::CNodeActivityBase::ReturnPreallocatedSpace(TAny *)
MeshMachine::CNodeActivityBase::SetError(TInt)
MeshMachine::CNodeActivityBase::SetIdle()
MeshMachine::CNodeActivityBase::SetPostedTo(const Messages::RNodeInterface &)
MeshMachine::CNodeActivityBase::SetPostedTo(const Messages::TNodeId &)
MeshMachine::CNodeActivityBase::Signal(TNodeContextBase &)
MeshMachine::CNodeActivityBase::SoleOriginator()const
MeshMachine::CNodeActivityBase::StartL(TNodeContextBase &,const Messages::XNodePeerId &,const NetStateMachine::TStateTriple &)
MeshMachine::CNodeActivityBase::~CNodeActivityBase()
Protected Attributes
TUint16 iActivityId
Inherited Attributes
MeshMachine::CNodeActivityBase::iNode
MeshMachine::CNodeActivityBase::iOriginators

Constructor & Destructor Documentation

CNodeParallelActivityBase(const TNodeActivity &, AMMNodeBase &, TUint)

IMPORT_C CNodeParallelActivityBase ( const TNodeActivity & aActivitySig,
AMMNodeBase & aNode,
TUint aNextActivityCount
) [protected]

Parameters

const TNodeActivity & aActivitySig Context information about how the activity is to be started
AMMNodeBase & aNode The node to which this activity will belong.
TUint aNextActivityCount The unique part of the activity id

Member Functions Documentation

ActivityId()

IMPORT_C TUint16 ActivityId ( ) const [virtual]

Get the activity id

GetNextActivityCount(const TNodeActivity &, const AMMNodeBase &)

IMPORT_C TUint GetNextActivityCount ( const TNodeActivity & aActivitySig,
const AMMNodeBase & aNode
) [protected, static]

For use by custom activity News to generate the unique part of the activity id.

Parameters

const TNodeActivity & aActivitySig Context information about how the activity is to be started
const AMMNodeBase & aNode The node to which this activity will belong.

GetNextActivityCountL(const TNodeActivity &, const AMMNodeBase &)

TUint GetNextActivityCountL ( const TNodeActivity & aActivitySig,
const AMMNodeBase & aNode
) [protected, static, inline]

For use by custom activity NewLs to generate the unique part of the activity id.

Parameters

const TNodeActivity & aActivitySig Context information about how the activity is to be started
const AMMNodeBase & aNode The node to which this activity will belong.

NewL(const TNodeActivity &, AMMNodeBase &)

IMPORT_C CNodeActivityBase * NewL ( const TNodeActivity & aActivitySig,
AMMNodeBase & aNode
) [static]

Create a new activity. This should never be called by user code.

Parameters

const TNodeActivity & aActivitySig Context information about how the activity is to be started
AMMNodeBase & aNode The node to which this activity will belong.

Member Data Documentation

TUint16 iActivityId

TUint16 iActivityId [protected]

The activity id. The id format is [8 bit unique id|8 bit activity sig].