0001-added-new-type-StateChange.patch

L. Ziegler, 03/06/2014 03:57 PM

Download (1.31 KB)

View differences:

proto/sandbox/rst/statemachine/StateChange.proto
1
package rst.statemachine;
2

  
3
option java_outer_classname = "StateChangeType";
4

  
5
/**
6
 * An object that indicates an state change in the corresponding state machine.
7
 *
8
 * @author Phillip Luecking <plueckin@techfak.uni-bielefeld.de>
9
 */
10
message StateChange {
11

  
12
    /**
13
     * This field indicates from which state the state machine switched into the
14
     * @ref .to_state.
15
     */
16
    required string from_state = 1;
17

  
18
    /**
19
     * This field stores the new state of the state machine, coming from @ref
20
     * .from_state.
21
     */
22
    required string to_state = 2;
23

  
24
    /**
25
     * The cause of the state change, if present.
26
     */
27
    optional string cause = 3;
28
}
0
-