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

◆ SimpleExitAction()

Request drama::SimpleExitAction ( drama::MessageHandler messageHandler)
extern

A function which implements a simple exit action.

This action can be added to a task, normally with the name EXIT. When invoked, it causes the task to exit immediately.

Parameters
messageHandlerThe message handler object
Returns
An action return code - will always have have the code RequestCode::Exit
Examples
dramahello.cpp, monitor1.cpp, monitor2.cpp, threadbasic.cpp, and tocker.cpp.