Main Page | Class List | File List | Class Members | File Members

MyState Class Reference

User state type. More...

List of all members.

Public Member Functions

 MyState (const string &Name)
 Construct a state.
 MyState ()
 Default constructor of a state. Name will be empty.
bool operator== (const MyState &RHS) const
 Comparison of two sates.
string GetName (void) const
 Provides a state name.


Detailed Description

User state type.

Definition at line 28 of file TransitionFunctions.cpp.


Constructor & Destructor Documentation

MyState::MyState const string &  Name  )  [inline]
 

Construct a state.

Parameters:
Name Name of a state

Definition at line 37 of file TransitionFunctions.cpp.


Member Function Documentation

string MyState::GetName void   )  const [inline]
 

Provides a state name.

Returns:
State name

Definition at line 55 of file TransitionFunctions.cpp.

Referenced by f1(), f2(), and f3().

bool MyState::operator== const MyState RHS  )  const [inline]
 

Comparison of two sates.

Parameters:
RHS Right hand side state
Returns:
true if states are equal

Definition at line 49 of file TransitionFunctions.cpp.

References StateName.


The documentation for this class was generated from the following file:
Generated on Mon Aug 15 06:36:01 2005 for Transitions Bound Functions FSM by  doxygen 1.4.4