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

◆ Request() [1/2]

drama::Request::Request ( StatusType  status,
RequestCode  code = RequestCode::End 
)
inline

Specify a request using a RequestCode and completion status.

Not normally used with code=Wait, since that requires a delay.

If the status is NOT ok, then the action will complete and the only requests of note are End (end action) or Exit (Exit task), or KickFailed. Others will be treated as End. KickFailed is only valid for Kick events, in which case it indicates the Kick has failed but the Action continues.

Parameters
statusThe status to be associated with the action.
codeThe request code. Defaults to End.