commit | cef21de4357a36ec4b5be78dc3db1030bff22746 | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Mon Apr 17 13:25:29 2017 -0700 |
committer | Tom Cherry <tomcherry@google.com> | Tue Apr 25 17:14:23 2017 +0000 |
tree | 8e3d8b51654781200cce37994ed19d3273592ebd | |
parent | e6a27f23c6cf09e3fc9ab22bce9967dd44810091 [diff] |
init: rename 'Trigger' to 'Event' and convert to std::variant The term 'trigger' should be used in 'Action' to indicate what causes the 'Action' to be executed. The term 'event' should be used in ActionManager's queue to indicate a state change that is checked against the 'triggers' of an 'Action' to see if it should execute. Convert the previous Trigger class to std::variant, as the latter is better suited for this use. Change-Id: I2558367c8318b536aa69fcec93793f1c12857ef5