state.h 369 B

1234567891011121314151617181920212223
  1. #pragma once
  2. //
  3. // Copyright (c) 2019-2020 Ivan Baidakou (basiliscos) (the dot dmol at gmail dot com)
  4. //
  5. // Distributed under the MIT Software License
  6. //
  7. namespace rotor {
  8. /** \brief state of actor in `rotor` */
  9. enum class state_t {
  10. UNKNOWN,
  11. NEW,
  12. INITIALIZING,
  13. INITIALIZED,
  14. OPERATIONAL,
  15. SHUTTING_DOWN,
  16. SHUT_DOWN,
  17. };
  18. } // namespace rotor