Merge remote-tracking branch 'origin/development' into development
[Mograsim.git] / net.mograsim.logic.model / src / net / mograsim / logic / model / snippets / highlevelstatehandlers / standard / atomic / AtomicHighLevelStateHandler.java
1 package net.mograsim.logic.model.snippets.highlevelstatehandlers.standard.atomic;
2
3 import com.google.gson.JsonObject;
4
5 import net.mograsim.logic.model.snippets.HighLevelStateHandler;
6
7 public interface AtomicHighLevelStateHandler
8 {
9         /**
10          * Gets the current value of the atomic high level state represented by this AtomicHighLevelStateHandler.<br>
11          * See {@link HighLevelStateHandler} for an explanation of high-level state IDs.
12          * 
13          * @author Daniel Kirschten
14          */
15         public Object getHighLevelState();
16
17         /**
18          * Sets the atomic high level state represented by this AtomicHighLevelStateHandler to the given value.<br>
19          * See {@link HighLevelStateHandler} for an explanation of high-level state IDs.
20          * 
21          * @author Daniel Kirschten
22          */
23         public void setHighLevelState(Object newState);
24
25         public static class AtomicHighLevelStateHandlerParams
26         {
27                 public String id;
28                 public JsonObject params;
29         }
30 }