Main Page | File List | File Members

simple.cpp File Reference

Simple example of a Finite state machine template usage. More...

#include <iostream>
#include <string>
#include "fsm.h"

Include dependency graph for simple.cpp:

Go to the source code of this file.

Namespaces

namespace  std
namespace  FSM

Defines

#define FSMStateType   string
#define FSMEventType   Events

Enumerations

enum  Events { letter = 0, digit = 1 }
 Event type. More...

Functions

int main (int argc, char **argv)


Detailed Description

Simple example of a Finite state machine template usage.

Definition in file simple.cpp.


Enumeration Type Documentation

enum Events
 

Event type.

Enumerator:
letter  'letter' type of input character
digit  'digit' type of input character

Definition at line 28 of file simple.cpp.


Generated on Fri Aug 12 06:13:17 2005 for Simple example of FSM template usage by  doxygen 1.4.4