NetStateMachine::ACore Class Reference

class NetStateMachine::ACore
Public Member Functions
IMPORT_C TBool Accept (const TStateTriple &, TAny *, TInt )
IMPORT_C void Cancel ( TAny *)
IMPORT_C TInt Do (const TStateTriple &, TAny *, TDes8 &)
IMPORT_C void DoCurrent ( TAny *)
IMPORT_C const TStateTriple * FindNext (const TStateTriple &, TInt )
IMPORT_C TBool IsIdle ()
IMPORT_C TBool Next ( TAny *)
IMPORT_C void SetIdle ()
IMPORT_C void Start ( TAny *, const TStateTriple &)
Protected Member Functions
ACore ()
Private Member Functions
TBool DoTransition ( MStateFork &, TAny *, TDes8 &)
Private Attributes
const TStateTriple * iCurrent

Constructor & Destructor Documentation

ACore()

ACore ( ) [protected, inline, explicit]

Member Functions Documentation

Accept(const TStateTriple &, TAny *, TInt)

IMPORT_C TBool Accept ( const TStateTriple & aFirst,
TAny * aContext,
TInt aTransitionTag
) [static]

Parameters

const TStateTriple & aFirst
TAny * aContext
TInt aTransitionTag

Cancel(TAny *)

IMPORT_C void Cancel ( TAny * aContext )

Parameters

TAny * aContext

Do(const TStateTriple &, TAny *, TDes8 &)

IMPORT_C TInt Do ( const TStateTriple & aTriple,
TAny * aContext,
TDes8 & aMem
) [static]

Parameters

const TStateTriple & aTriple
TAny * aContext
TDes8 & aMem

DoCurrent(TAny *)

IMPORT_C void DoCurrent ( TAny * aContext )

Parameters

TAny * aContext

DoTransition(MStateFork &, TAny *, TDes8 &)

TBool DoTransition ( MStateFork & aStateFork,
TAny * aContext,
TDes8 & aMem
) [private]

Parameters

MStateFork & aStateFork
TAny * aContext
TDes8 & aMem

FindNext(const TStateTriple &, TInt)

IMPORT_C const TStateTriple * FindNext ( const TStateTriple & aCurrent,
TInt aTransitionTag
) [static]

Parameters

const TStateTriple & aCurrent
TInt aTransitionTag

IsIdle()

IMPORT_C TBool IsIdle ( ) const [virtual]

Next(TAny *)

IMPORT_C TBool Next ( TAny * aContext )

Parameters

TAny * aContext

SetIdle()

IMPORT_C void SetIdle ( ) [virtual]

Start(TAny *, const TStateTriple &)

IMPORT_C void Start ( TAny * aContext,
const TStateTriple & aFirst
)

Parameters

TAny * aContext
const TStateTriple & aFirst

Member Data Documentation

const TStateTriple * iCurrent

const TStateTriple * iCurrent [private]