AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
|
Forward monitor message event handling objects.
This class implements the default event handler class for forward monitors. It overrides the trigger handler and then ignores the triggers.
A more sensible implementation might be to safe the monitor ID in some way, so a monitor can be canceled.
#include "path.hh"
Public Member Functions | |
virtual void | BulkDone (thread::ProcessInfo messInfo) |
Invoked if a bulk data done message is received. | |
virtual void | BulkTransferred (thread::ProcessInfo messInfo, DitsBulkInfoType bulkInfo) |
Invoked if a bulk data transferred message is received. | |
virtual void | ErrorReport (thread::ProcessInfo messInfo, const std::string &task, const ErsMessageVector &messages) |
Invoked if an error report for the user is received. | |
virtual bool | KickReceived (thread::ProcessInfo messInfo, const sds::IdPtr &arg) |
Invoked if an action waiting on a message receives a kick message during the wait. | |
virtual void | MessageComplete (thread::ProcessInfo messInfo, StatusType status, const sds::IdPtr &arg) |
Invoked if a message complete message is received. | |
virtual void | MessageRejected (thread::ProcessInfo messInfo, StatusType status) |
Invoked if the message sent was rejected by the target task. | |
virtual void | NewTransaction (DitsMsgType msgType, DitsTransIdType tid) override |
This method is invoked each time a message is initiated. | |
virtual bool | Process (thread::ProcessInfo messInfo, const TransEvtInfo &eventInfo, const sds::IdPtr &arg) override final |
Method invoked to process messages. | |
virtual void | SignalReceived (thread::ProcessInfo messInfo, const sds::IdPtr &arg) |
Invoked if a signal for the action is received. | |
virtual void | TaskDied (thread::ProcessInfo messInfo, StatusType status) |
Invoked if the subsidiary task died whilst we were waiting for a reply from it. | |
virtual void | ThreadWaitAbort (thread::ProcessInfo messInfo, StatusType status) |
Invoked if the thread wait is aborted. | |
virtual void | TriggerReceived (thread::ProcessInfo messInfo, StatusType status, const sds::IdPtr &arg) override |
Invoked if a trigger message is received. | |
virtual void | UserMessage (thread::ProcessInfo messInfo, const std::string &task, const std::string &message) |
Invoked if a message for the user is received. | |
virtual bool | WaitTimeout (std::chrono::steady_clock::time_point *until) |
This method is invoked when a timeout occurs. | |
Click here for the DRAMA home page and here for the AAO home page.
For more information, contact tony.farrell@mq.edu.au
Generated on Thu Dec 12 2024 23:07:35 for AAO DRAMA/DRAMA2 C++ Interface by 1.9.8