Browse Source

Add dynamic goal to "event" module

Patrick-Christopher Mattulat 2 years ago
parent
commit
e18ceaa97c

+ 3 - 2
include/ls_std/event/Event.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-11-26
  * Created:         2020-11-26
- * Changed:         2022-05-12
+ * Changed:         2022-06-29
  *
  *
  * */
  * */
 
 
@@ -14,6 +14,7 @@
 #include <ls_std/core/interface/ISerializable.hpp>
 #include <ls_std/core/interface/ISerializable.hpp>
 #include <memory>
 #include <memory>
 #include <ls_std/core/types/EventTypes.hpp>
 #include <ls_std/core/types/EventTypes.hpp>
+#include <ls_std/os/dynamic_goal.hpp>
 
 
 namespace ls
 namespace ls
 {
 {
@@ -21,7 +22,7 @@ namespace ls
   {
   {
     namespace event
     namespace event
     {
     {
-      class Event : public ls::std::core::Class
+      class DYNAMIC_GOAL Event : public ls::std::core::Class
       {
       {
         public:
         public:
 
 

+ 3 - 2
include/ls_std/event/EventHandler.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-11-27
  * Created:         2020-11-27
- * Changed:         2022-05-12
+ * Changed:         2022-06-29
  *
  *
  * */
  * */
 
 
@@ -14,6 +14,7 @@
 #include <list>
 #include <list>
 #include <memory>
 #include <memory>
 #include <ls_std/core/interface/IListener.hpp>
 #include <ls_std/core/interface/IListener.hpp>
+#include <ls_std/os/dynamic_goal.hpp>
 #include "Event.hpp"
 #include "Event.hpp"
 #include "Narrator.hpp"
 #include "Narrator.hpp"
 
 
@@ -23,7 +24,7 @@ namespace ls
   {
   {
     namespace event
     namespace event
     {
     {
-      class EventHandler : public ls::std::event::Narrator
+      class DYNAMIC_GOAL EventHandler : public ls::std::event::Narrator
       {
       {
         public:
         public:
 
 

+ 3 - 2
include/ls_std/event/EventManager.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-11-27
  * Created:         2020-11-27
- * Changed:         2022-05-19
+ * Changed:         2022-06-29
  *
  *
  * */
  * */
 
 
@@ -16,6 +16,7 @@
 #include <memory>
 #include <memory>
 #include "EventHandler.hpp"
 #include "EventHandler.hpp"
 #include <ls_std/core/interface/IEventSubscriber.hpp>
 #include <ls_std/core/interface/IEventSubscriber.hpp>
+#include <ls_std/os/dynamic_goal.hpp>
 
 
 namespace ls
 namespace ls
 {
 {
@@ -23,7 +24,7 @@ namespace ls
   {
   {
     namespace event
     namespace event
     {
     {
-      class EventManager : public ls::std::core::Class, public ls::std::core::interface_type::IEventSubscriber
+      class DYNAMIC_GOAL EventManager : public ls::std::core::Class, public ls::std::core::interface_type::IEventSubscriber
       {
       {
         public:
         public:
 
 

+ 3 - 2
include/ls_std/event/Narrator.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-11-14
  * Created:         2020-11-14
- * Changed:         2022-05-19
+ * Changed:         2022-06-29
  *
  *
  * */
  * */
 
 
@@ -12,6 +12,7 @@
 
 
 #include <ls_std/core/Class.hpp>
 #include <ls_std/core/Class.hpp>
 #include <ls_std/core/interface/IListener.hpp>
 #include <ls_std/core/interface/IListener.hpp>
+#include <ls_std/os/dynamic_goal.hpp>
 #include <list>
 #include <list>
 #include <memory>
 #include <memory>
 
 
@@ -21,7 +22,7 @@ namespace ls
   {
   {
     namespace event
     namespace event
     {
     {
-      class Narrator : public ls::std::core::Class
+      class DYNAMIC_GOAL Narrator : public ls::std::core::Class
       {
       {
         public:
         public:
 
 

+ 3 - 2
include/ls_std/event/serialization/SerializableJsonEvent.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-12-07
  * Created:         2020-12-07
- * Changed:         2022-05-19
+ * Changed:         2022-06-29
  *
  *
  * */
  * */
 
 
@@ -15,6 +15,7 @@
 #include <ls_std/event/Event.hpp>
 #include <ls_std/event/Event.hpp>
 #include <memory>
 #include <memory>
 #include <ls_std/lib/nlohmann_json/include/nlohmann/json.hpp>
 #include <ls_std/lib/nlohmann_json/include/nlohmann/json.hpp>
+#include <ls_std/os/dynamic_goal.hpp>
 
 
 namespace ls
 namespace ls
 {
 {
@@ -22,7 +23,7 @@ namespace ls
   {
   {
     namespace event
     namespace event
     {
     {
-      class SerializableJsonEvent : public ls::std::core::Class, public ls::std::core::interface_type::ISerializable
+      class DYNAMIC_GOAL SerializableJsonEvent : public ls::std::core::Class, public ls::std::core::interface_type::ISerializable
       {
       {
         public:
         public: