EventParameter.hpp 891 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Co-Author: Claude Sonnet 4.6 (LLM)
  4. * Company: Lynar Studios
  5. * E-Mail: webmaster@lynarstudios.com
  6. * Created: 2024-05-30
  7. * Changed: 2026-06-23
  8. *
  9. * */
  10. #ifndef EVENT_PARAMETER_HPP
  11. #define EVENT_PARAMETER_HPP
  12. #include <list>
  13. #include <ls-std/os/dynamic-goal.hpp>
  14. #include <string>
  15. /*
  16. * @doc: class(name: 'EventParameter', package: 'event')
  17. * @doc: event.EventParameter.description('This class holds parameters which can be sent during event invocation.')
  18. * */
  19. namespace ls::standard::event
  20. {
  21. class LS_STD_DYNAMIC_GOAL EventParameter
  22. {
  23. public:
  24. EventParameter();
  25. ~EventParameter();
  26. void addParameter(const ::std::string &_parameter);
  27. [[nodiscard]] ::std::list<::std::string> get() const;
  28. private:
  29. ::std::list<::std::string> parameters{};
  30. };
  31. }
  32. #endif