|
AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
|
◆ ControlWaitUntil()
Sends a control message to a task and block the current thread until the reply is received or a timeout has occurred. For a relative time, something like the following is needed. (ten second timeout).
std::chrono::steady_clock::time_point until =
std::chrono::steady_clock::now() + std::chrono::seconds(10);
ControlWaitUntil(until,...);
*but can be done using the DeltaTimeToTimePoint() static method.
References drama::TransEvtInfo::complete, drama::CreateRunDramaTask(), DramaTHROW_S, and drama::TransEvtInfo::entryStatus. |
Click here for the DRAMA home page and here for the AAO home page.
For more information, contact tony.farrell@mq.edu.au
Generated by