xbmc
Public Member Functions | Public Attributes | Protected Attributes | List of all members
KODI::MESSAGING::ThreadMessage Class Reference
Collaboration diagram for KODI::MESSAGING::ThreadMessage:
Collaboration graph
[legend]

Public Member Functions

 ThreadMessage (uint32_t messageId)
 
 ThreadMessage (uint32_t messageId, int64_t p3)
 
 ThreadMessage (uint32_t messageId, int p1, int p2, void *payload, int64_t p3=0)
 
 ThreadMessage (uint32_t messageId, int p1, int p2, void *payload, std::string param, std::vector< std::string > vecParams)
 
 ThreadMessage (const ThreadMessage &other)=default
 
 ThreadMessage (ThreadMessage &&other) noexcept
 
ThreadMessageoperator= (const ThreadMessage &other)
 
ThreadMessageoperator= (ThreadMessage &&other) noexcept
 
void SetResult (int res) const
 set the message return value, will only be returned when the message is sent using SendMsg More...
 

Public Attributes

uint32_t dwMessage
 
int param1
 
int param2
 
int64_t param3
 
void * lpVoid
 
std::string strParam
 
std::vector< std::string > params
 

Protected Attributes

std::shared_ptr< CEventwaitEvent
 
std::shared_ptr< int > result
 

Member Function Documentation

◆ SetResult()

void KODI::MESSAGING::ThreadMessage::SetResult ( int  res) const
inline

set the message return value, will only be returned when the message is sent using SendMsg

Parameters
[in]resthe return value or a result status code that is returned to the caller

The documentation for this class was generated from the following file: