source: trunk/FACT++/src/StateMachine.h@ 11014

Last change on this file since 11014 was 10368, checked in by tbretz, 14 years ago
Removed an obsolete comment.
File size: 564 bytes
Line 
1#ifndef FACT_StateMachine
2#define FACT_StateMachine
3
4#include "StateMachineImp.h"
5
6class StateMachine : public StateMachineImp
7{
8protected:
9 EventImp *CreateEvent(int targetstate, const char *name, const char *fmt);
10
11public:
12 StateMachine(std::ostream &out, const std::string &name="") :
13 StateMachineImp(out, name)
14 {
15 }
16
17 bool ProcessCommand(const std::string &str, const char *ptr, size_t siz);
18 bool ProcessCommand(const EventImp &evt);
19 bool ProcessCommand(const std::string &str) { return ProcessCommand(str, 0, 0); }
20
21};
22
23#endif
Note: See TracBrowser for help on using the repository browser.