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

◆ MonitorCancel()

void drama::Path::MonitorCancel ( thread::TMessHandler action,
int  monId,
MessageEventHandler *const  eventProcessor = &_simpleEventProcessor 
)
inlineinherited

Send a Monitor Cancel message to a task and block until it is complete.

Parameters
actionA pointer to the threaded action or threaded uface handler which is executing this operation.
monIdThe ID of the monitor to be canceled.
eventProcessorAn object to use to process events. Defaults to a simple event processor that causes the method to return when the monitor completes.

References drama::TransEvtInfo::complete, drama::sds::Id::CreateArgCmdStruct(), drama::CreateRunDramaTask(), DramaTHROW_S, and drama::TransEvtInfo::entryStatus.