Classes | |
class | CalcEvent |
Calc state machine events. More... | |
class | CalcHsm |
Calc state machine. More... | |
Variables | |
SIG_CLEAR = SIG_USER | |
Clear signal, user has pressed the clear button. | |
int | SIG_CLEAR_ENTRY = 1 |
Clear Entry signal, user has pressed the clear entry button. | |
int | SIG_DIGIT_1_9 = 2 |
Digit 1-9 signal, user has pressed a digit button ranging from 1 to 9. | |
int | SIG_DIGIT_0 = 3 |
Digit 0 signal, user has pressed the 0 button. | |
int | SIG_OPERATOR = 4 |
Operator signal, user has pressed an operator (add, subtract, multiply, divide) button. | |
int | SIG_POINT = 5 |
Point signal, user has pressed the decimal point button. | |
int | SIG_EQUALS = 6 |
Equals signal, user has pressed the equals button. |
calc_hsm.SIG_CLEAR = SIG_USER |
Clear signal, user has pressed the clear button.
int calc_hsm.SIG_CLEAR_ENTRY = 1 |
Clear Entry signal, user has pressed the clear entry button.
int calc_hsm.SIG_DIGIT_0 = 3 |
Digit 0 signal, user has pressed the 0 button.
int calc_hsm.SIG_DIGIT_1_9 = 2 |
Digit 1-9 signal, user has pressed a digit button ranging from 1 to 9.
int calc_hsm.SIG_EQUALS = 6 |
Equals signal, user has pressed the equals button.
int calc_hsm.SIG_OPERATOR = 4 |
Operator signal, user has pressed an operator (add, subtract, multiply, divide) button.
int calc_hsm.SIG_POINT = 5 |
Point signal, user has pressed the decimal point button.