enum state { STATE_DESTROYED = 0, STATE_INITIALIZED = 1, STATE_PARSED = 2, STATE_CHECKED = 3, STATE_STARTED = 4, STATE_STOPPED = 5 };