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

◆ SendTrigger()

void drama::MessageHandler::SendTrigger ( const sds::Id arg) const
inherited

Send a trigger message to the parent action.

A trigger message is a way for an action to send messages to its parent action without completing. The parent action is that action (probably in another task) which sent the OBEY message which initiated this action.

It is up to the parent action to interpret these trigger message (so they are a protocol that is up to the two takes involved to define).

Note
Only valid if invoked in the contact of MessageReceived() being invoked for an Obey or Kick message.
Parameters
argThe SDS Id of the argument to the trigger message.