23 class CApplicationMessenger;
44 ThreadMessage(uint32_t messageId,
int p1,
int p2,
void* payload, int64_t p3 = 0)
45 : dwMessage{ messageId }
58 std::vector<std::string> vecParams)
59 : dwMessage{messageId},
64 strParam(std::move(param)),
65 params(std::move(vecParams))
72 : dwMessage(other.dwMessage),
77 strParam(std::move(other.strParam)),
78 params(std::move(other.params)),
79 waitEvent(std::move(other.waitEvent)),
80 result(std::move(other.result))
88 dwMessage = other.dwMessage;
89 param1 = other.param1;
90 param2 = other.param2;
91 param3 = other.param3;
92 lpVoid = other.lpVoid;
93 strParam = other.strParam;
94 params = other.params;
95 waitEvent = other.waitEvent;
96 result = other.result;
104 dwMessage = other.dwMessage;
105 param1 = other.param1;
106 param2 = other.param2;
107 param3 = other.param3;
108 lpVoid = other.lpVoid;
109 strParam = std::move(other.strParam);
110 params = std::move(other.params);
111 waitEvent = std::move(other.waitEvent);
112 result = std::move(other.result);
121 std::string strParam;
122 std::vector<std::string> params;
138 std::shared_ptr<CEvent> waitEvent;
139 std::shared_ptr<int> result;
This is an Event class built from a ConditionVariable.
Definition: Event.h:35
Definition: ThreadMessage.h:25
void SetResult(int res) const
set the message return value, will only be returned when the message is sent using SendMsg ...
Definition: ThreadMessage.h:129
Controller configuration window.
Definition: AudioDecoder.h:18
This implements a simple message dispatcher/router for Kodi.
Definition: ApplicationMessenger.h:226