6 #ifndef FSM_FSM_OFSMTABLE_H_
7 #define FSM_FSM_OFSMTABLE_H_
12 #include "fsm/typedef.inc"
62 std::vector<std::shared_ptr<OFSMTableRow>> rows;
67 const std::shared_ptr<FsmPresentationLayer> presentationLayer;
75 std::shared_ptr<OFSMTable> nextAfterZero();
85 OFSMTable(
const std::vector<std::shared_ptr<FsmNode>>& nodes,
const int maxInput,
const int maxOutput,
const std::shared_ptr<FsmPresentationLayer> presentationLayer);
88 OFSMTable(
const int numStates,
const int maxInput,
const int maxOutput,
const std::vector<std::shared_ptr<OFSMTableRow>>& rows,
const std::shared_ptr<FsmPresentationLayer> presentationLayer);
97 void setS2C(
const S2CMap & ps2c);
108 int get(
const int id,
const int x,
const int y);
111 int maxClassId()
const;
118 std::shared_ptr<OFSMTable>
next();
133 Fsm toFsm(
const std::string & name)
const;
141 #endif //FSM_FSM_OFSMTABLE_H_
OFSMTable(const std::vector< std::shared_ptr< FsmNode >> &nodes, const int maxInput, const int maxOutput, const std::shared_ptr< FsmPresentationLayer > presentationLayer)
Definition: OFSMTable.cpp:55
Definition: OFSMTable.h:37
Definition: OFSMTableRow.h:18
friend std::ostream & operator<<(std::ostream &out, const OFSMTable &ofsmTable)
Definition: OFSMTable.cpp:298
Definition: FsmPresentationLayer.h:16
std::string getMembers(const int c) const
Definition: OFSMTable.cpp:211
std::shared_ptr< OFSMTable > next()
Definition: OFSMTable.cpp:116
Fsm toFsm(const std::string &name) const
Definition: OFSMTable.cpp:233