Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

AAA_StateTable< ARG > Class Template Reference

The base template class for state table (see State Table). More...

#include <framework.h>

List of all members.

Public Member Functions

AAA_State InitialState () throw (AAA_Error)
 This function is used for getting an initial state.

void InitialState (AAA_State st)
 This function is used for setting an initial state.

bool FindStateTableEntry (AAA_State st, AAA_Event ev, AAA_StateTableEntry< ARG > *&entry)
bool FindStateTableEntry (AAA_State st, AAA_StateTableEntry< ARG > *&entry)

Protected Member Functions

void AddStateTableEntry (AAA_State pSt, AAA_Event ev, AAA_State nSt, AAA_Action< ARG > &ac=AAA_NullAction< ARG >()()) throw (AAA_Error)
 This function is used for adding an entry for a specific event.

void AddWildcardStateTableEntry (AAA_State pSt, AAA_State nSt, AAA_Action< ARG > &ac=AAA_NullAction< ARG >()()) throw (AAA_Error)
 This function is used for adding an entry for wildcard event.


Detailed Description

template<class ARG>
class AAA_StateTable< ARG >

The base template class for state table (see State Table).


Member Function Documentation

template<class ARG>
bool AAA_StateTable< ARG >::FindStateTableEntry AAA_State  st,
AAA_StateTableEntry< ARG > *&  entry
[inline]
 

This function is used for finding an entry for a specific state with wildcard event.

template<class ARG>
bool AAA_StateTable< ARG >::FindStateTableEntry AAA_State  st,
AAA_Event  ev,
AAA_StateTableEntry< ARG > *&  entry
[inline]
 

This function is used for finding an entry for a specific pairw of state and event.


The documentation for this class was generated from the following file:
Generated on Fri Jun 25 17:35:04 2004 for Framework API for Task Management and Protocol State Machines by doxygen 1.3.5