create hsmc repo
This commit is contained in:
commit
0506ec019b
26 files changed
+5413
No files matched your search
@@ -0,0 +1,33 @@
|
||||
#ifndef __state_h__
|
||||
#define __state_h__
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
class State
|
||||
{
|
||||
public:
|
||||
|
||||
std::string name;
|
||||
|
||||
int parent;
|
||||
std::vector<int> child;
|
||||
|
||||
std::string defaultstate;
|
||||
std::vector<std::string> entry;
|
||||
std::vector<std::string> idle;
|
||||
std::vector<std::string> exit;
|
||||
std::map<std::string,std::string> transition;
|
||||
std::multimap<std::string,std::string> action;
|
||||
std::set<std::string> terminate;
|
||||
std::multimap<float,std::string> timetransition;
|
||||
std::multimap<float,std::string> timeaction;
|
||||
|
||||
std::map<int,float> timers;
|
||||
};
|
||||
|
||||
|
||||
#endif // __state_h__
|
||||
|
||||
|
||||
Reference in new issue
Block a user