forward.hpp 804 B

12345678910111213141516171819202122232425262728293031323334353637
  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. #include "arc.hpp"
  8. #include <boost/date_time/posix_time/posix_time.hpp>
  9. namespace rotor {
  10. struct address_t;
  11. struct actor_base_t;
  12. struct handler_base_t;
  13. struct supervisor_t;
  14. struct system_context_t;
  15. using address_ptr_t = intrusive_ptr_t<address_t>;
  16. /** \brief intrusive pointer for actor*/
  17. using actor_ptr_t = intrusive_ptr_t<actor_base_t>;
  18. /** \brief intrusive pointer for handler */
  19. using handler_ptr_t = intrusive_ptr_t<handler_base_t>;
  20. namespace pt = boost::posix_time;
  21. /** \brief timer identifier type in the scope of the actor */
  22. using request_id_t = std::size_t;
  23. } // namespace rotor
  24. namespace rotor::plugin {
  25. struct plugin_base_t;
  26. }