Debian Codegraph @

plugins/dm.objectives/Logic.h

raw
1 #ifndef LOGIC_H_
2 #define LOGIC_H_
3
4 #include <string>
5 #include <memory>
6
7 namespace objectives {
8
9 /**
10 * greebo: This is everything needed to define the logic
11 * for succeeding a mission or objective. For now, this is
12 * just the strings containing the boolean ANDs, ORs and NOTs.
13 */
14 struct Logic
15 {
16 std::string successLogic;
17 std::string failureLogic;
18 };
19 typedef std::shared_ptr<Logic> LogicPtr;
20
21 } // namespace objectives
22
23 #endif /* LOGIC_H_ */