| 18 | typedef std::map<std::string, StatePtrSet> StatePtrStrMap; |
| 19 | |
| 20 | struct ActionCounter { |
| 21 | private: |
| 22 | |
| 23 | // Enum Act count |
| 24 | long actCount[ActionType::ActTypeSize]; |
| 25 | long total; |
| 26 | |
| 27 | public: |
| 28 | ActionCounter() |
| 29 | : actCount{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, total(0) { |
| 30 | } |
| 31 | |
| 32 | void countAction(const ActivityStateActionPtr &action) { |
| 33 | actCount[action->getActionType()]++; |
| 34 | total++; |
| 35 | } |
| 36 | |
| 37 | long getTotal() const { return total; } |
| 38 | }; |
| 39 | |
| 40 | |
| 41 | class GraphListener { |
nothing calls this directly
no outgoing calls
no test coverage detected