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

◆ PutObeyHandler() [2/2]

virtual void drama::MessageHandler::PutObeyHandler ( MessageReceiveFunction  func)
virtualinherited

Put a message handler function for the next Obey reschedule event.

Will be reset to the default handler when the action completes.

Note
Only valid if invoked in the contact of MessageReceived() being invoked for an Obey or Kick message.
Parameters
funcA function to be invoked to handle the reschedule event. The only argument to this function is a drama::MessageHandler object, but not the one on which this was invoked. Instead, a separately allocated object. It returns the reschedule request.