CoreActivities::CErrorActivity Class Reference

class CoreActivities::CErrorActivity : public MeshMachine::CNodeParallelActivityBase
Public Member Functions
~CErrorActivity ()
TContext virtual IMPORT_C TBool Accept ()
DECLARE_SMELEMENT_FOOTER ( TAwaitingError )
DECLARE_SMELEMENT_FOOTER (TCFAwaitingError)
DECLARE_SMELEMENT_FOOTER ( TSendErrorRecoveryReq )
TContext virtual IMPORT_C void DoL ()
EXPORT_DECLARE_SMELEMENT_HEADER ( TAwaitingError , MeshMachine::TState < TContext >, NetStateMachine::MState , TContext )
NONSHARABLE_CLASS (TCFAwaitingError)
MeshMachine::CNodeActivityBase * NewL (const MeshMachine::TNodeActivity &, MeshMachine::AMMNodeBase &)
Protected Member Functions
CErrorActivity (const MeshMachine::TNodeActivity &, MeshMachine::AMMNodeBase &, TUint )
TBool IsIdle ()
TBool Next ( MeshMachine::TNodeContextBase &)
void StartL ( MeshMachine::TNodeContextBase &, const Messages::XNodePeerId &, const NetStateMachine::TStateTriple &)
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::KickOffMessageId()const
MeshMachine::CNodeActivityBase::MatchSender(const TNodeContextBase &)const
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::~CNodeActivityBase()
MeshMachine::CNodeParallelActivityBase::ActivityId()const
MeshMachine::CNodeParallelActivityBase::CNodeParallelActivityBase(const TNodeActivity &,AMMNodeBase &,TUint)
MeshMachine::CNodeParallelActivityBase::GetNextActivityCount(const TNodeActivity &,const AMMNodeBase &)
MeshMachine::CNodeParallelActivityBase::GetNextActivityCountL(const TNodeActivity &,const AMMNodeBase &)
Protected Member Type Definitions
typedef CoreStates::TContext TContext
Protected Attributes
TInt iErroredActivityId
Messages::TNodeSignal::TMessageId iMessageId
Inherited Attributes
MeshMachine::CNodeActivityBase::iNode
MeshMachine::CNodeActivityBase::iOriginators
MeshMachine::CNodeParallelActivityBase::iActivityId

Constructor & Destructor Documentation

CErrorActivity(const MeshMachine::TNodeActivity &, MeshMachine::AMMNodeBase &, TUint)

CErrorActivity ( const MeshMachine::TNodeActivity & aActivitySig,
MeshMachine::AMMNodeBase & aNode,
TUint aActivitiesCount
) [protected]

Parameters

const MeshMachine::TNodeActivity & aActivitySig
MeshMachine::AMMNodeBase & aNode
TUint aActivitiesCount

~CErrorActivity()

~CErrorActivity ( ) [virtual]

Member Functions Documentation

Accept()

TContext virtual IMPORT_C TBool Accept ( ) [virtual]

DECLARE_SMELEMENT_FOOTER(TAwaitingError)

DECLARE_SMELEMENT_FOOTER ( TAwaitingError )

Parameters

TAwaitingError

DECLARE_SMELEMENT_FOOTER(TCFAwaitingError)

DECLARE_SMELEMENT_FOOTER ( TCFAwaitingError )

Parameters

TCFAwaitingError

DECLARE_SMELEMENT_FOOTER(TSendErrorRecoveryReq)

DECLARE_SMELEMENT_FOOTER ( TSendErrorRecoveryReq )

DoL()

TContext virtual IMPORT_C void DoL ( ) [virtual]

EXPORT_DECLARE_SMELEMENT_HEADER(TAwaitingError, MeshMachine::TState< TContext >, NetStateMachine::MState, TContext)

EXPORT_DECLARE_SMELEMENT_HEADER ( TAwaitingError ,
MeshMachine::TState < TContext > ,
NetStateMachine::MState ,
TContext
)

IsIdle()

TBool IsIdle ( ) const [protected, virtual]

Check if the activity is running.

NONSHARABLE_CLASS(TCFAwaitingError)

NONSHARABLE_CLASS ( TCFAwaitingError ) [inline]

Parameters

TCFAwaitingError

NewL(const MeshMachine::TNodeActivity &, MeshMachine::AMMNodeBase &)

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

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

Parameters

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

Next(MeshMachine::TNodeContextBase &)

TBool Next ( MeshMachine::TNodeContextBase & aContext ) [protected, virtual]

Attempt to advance the activity one entry. Only to be called by the mesh machine

Parameters

MeshMachine::TNodeContextBase & aContext the context in which the activity is being executed

StartL(MeshMachine::TNodeContextBase &, const Messages::XNodePeerId &, const NetStateMachine::TStateTriple &)

void StartL ( MeshMachine::TNodeContextBase & aContext,
const Messages::XNodePeerId & aOriginator,
const NetStateMachine::TStateTriple & aFirst
) [protected, virtual]

Start a new activity. The first transition should have been run within the Accept() method before this is called.

Parameters

MeshMachine::TNodeContextBase & aContext The context to start the activity in
const Messages::XNodePeerId & aOriginator The peer that requires this activity to start
const NetStateMachine::TStateTriple & aFirst First entry triple in the activity, as returned by Accept()

Member Type Definitions Documentation

Typedef TContext

typedef CoreStates::TContext TContext [protected]

Member Data Documentation

TInt iErroredActivityId

TInt iErroredActivityId [protected]

Messages::TNodeSignal::TMessageId iMessageId

Messages::TNodeSignal::TMessageId iMessageId [protected]