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

Last change on this file since 13985 was 13837, checked in by tbretz, 12 years ago
Removed targetstate stuff.
File size: 547 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(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.