EventParameter.hpp 843 B

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