Öffentliche Typen | |
| enum | STATE { IDLE, WAIT_COMMAND, WAIT_ADDRESS, WAIT_LENGTH, WAIT_DATA, WAIT_ETX, WAIT_CRC } |
| all possible states Mehr... | |
Öffentliche Methoden | |
| CStatemaschine () | |
| constructor | |
| virtual | ~CStatemaschine () |
| destructor | |
| bool | Input (const unsigned char ucInput) |
| the implementation of the statemaschine overgive the next byte for run throught the statemaschine | |
| STATE | GetCurrentState (void) const |
| delivers the current state of the statemaschine | |
| void | SetCurrentState (const STATE) |
| Sets the current state of the statemaschine. | |
| bool | IsCompleted (void) const |
| returns true in case of a complete run through the statemaschine | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.7