IWriter.hpp 659 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-08-17
  6. * Changed: 2022-05-19
  7. *
  8. * */
  9. #ifndef LS_STD_I_WRITER_HPP
  10. #define LS_STD_I_WRITER_HPP
  11. #include <vector>
  12. #include <ls_std/core/types/Types.hpp>
  13. namespace ls
  14. {
  15. namespace std
  16. {
  17. namespace core
  18. {
  19. namespace interface_type
  20. {
  21. class IWriter
  22. {
  23. public:
  24. IWriter() = default;
  25. ~IWriter() = default;
  26. virtual bool write(const ls::std::core::type::byte_field &_data) = 0;
  27. };
  28. }
  29. }
  30. }
  31. }
  32. #endif