#include <IThread.h>
◆ ~IThread()
virtual dmq::IThread::~IThread |
( |
| ) |
|
|
virtualdefault |
◆ DispatchDelegate()
virtual void dmq::IThread::DispatchDelegate |
( |
std::shared_ptr< DelegateMsg > | msg | ) |
|
|
pure virtual |
Dispatch a DelegateMsg
onto this thread. The implementer is responsible for getting the DelegateMsg
into an OS message queue. Once DelegateMsg
is on the destination thread of control, the IDelegateInvoker::Invoke()
function must be called to execute the target function.
- Parameters
-
[in] | msg | A shared pointer to the message. |
- Postcondition
- The destination thread calls
IThreadInvoker::Invoke()
when DelegateMsg
is received.
Implemented in Thread, and Thread.
The documentation for this class was generated from the following file: