======OR class====== The OR class implements a functioning logical OR gate for use with our CPU simulator. =====OR() constructor===== OR myOrGate; ^ Function ^ Parameter(s) ^ Return value | | OR() | none | pointer/variable instantiation of the newly allocated OR gate | OR() is the parameterless constructor that is responsible for creating a new instance of an OR. =====reset()===== reset() will reset both inputs coming into the OR to FALSE values. myOrGate.reset(); ^ Function ^ Parameter(s) ^ Return value | | void reset() | no parameters | none | =====set(bool)===== set(bool) will take the parameter and set both inputs to that value. myOrGate.set(true); ^ Function ^ Parameter(s) ^ Return value | | void set() | bool | none | =====set(bool, bool)===== set(bool, bool) will take the parameter and set each input to a unique value. bool a = true; bool b = false; ... myOrGate.set(a, b); ^ Function ^ Parameter(s) ^ Return value | | void set() | bool, bool | none | =====setvalue()===== get() will retrieve the output of the OR. bool output = myOrGate.get(); ^ Function ^ Parameter(s) ^ Return value | | bool get(int) | none | boolean value of gate's output |