AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ SignalDramaToExit()

void drama::thread::SignalDramaToExit ( std::weak_ptr< Task dramaTask,
StatusType  exitStatus = STATUS__OK 
)

Signal to DRAMA that this task should exit.

This function is intended to be invoked from UFACE threads, and allows them to cause the DRAMA task to exit.

Author
Tony Farrell, AAO $Revision$ $Date$
Parameters
dramaTaskThe DRAMA Task point.
exitStatusAn exit status for the task.
Examples
monitor1.cpp, monitor2.cpp, and tocker.cpp.