|
AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
|
| void drama::ThreadDispatcher::Send | ( | drama::thread::TMessHandler * | messHandler, |
| drama::Path * | path, | ||
| sds::IdPtr | arg = nullptr |
||
| ) |
Send a message using a new thread.
Creates async thread and uses it to send the message by invoking the "SendMessage" method.
| messHandler | Address of a DRAMA Threaded message handler. Will be a sub-class of drama::TAction (invoked by a threaded action) or TUface (invoked by a uface thread) |
| path | Address of the path to send the message along. |
| arg | Argument to be supplied to the message. |