#include <dcppmonitor.h>
This class provides a wrap around to parameter monitoring operations. It uses a DcppTask object previously constructed by the user and on which a GetPath operation must have been completed.
Public Methods | |
| DcppMonitor (DcppTask *Task) | |
| Construct a parameter monitor controller for the specified task. | |
| DcppTask * | Task () const |
| Return the associated task object. | |
| void | Monitor (const DcppMonChangedRoutine ChangedHandler, const DcppHandlerRoutine CompletedHandler, const DcppVoidPnt ClientData, const bool SendCurrent, const int count, StatusType *const status,...) |
| Start a monitor operation. | |
| void | MonitorForget (const DcppMonChangedRoutine ChangedHandler, const DcppHandlerRoutine CompletedHandler, const DcppVoidPnt ClientData, const bool SendCurrent, const int count, StatusType *const status,...) |
| Start a monitor operation but orphan it. | |
| void | Forward (const char *const MTask, const char *const Action, const DcppHandlerRoutine CompletedHandler, const DcppVoidPnt ClientData, const bool SendCurrent, const int count, StatusType *const status,...) |
| Start a monitor forward operation. | |
| void | Forward (const char *const MTask, const char *const Action, const DcppHandlerRoutine StartedHandler, const DcppHandlerRoutine CompletedHandler, const DcppVoidPnt ClientData, const bool SendCurrent, const int count, StatusType *const status,...) |
| Start a monitor forward operation, with started handler. | |
| void | ForwardForget (const char *const MTask, const char *const Action, const DcppHandlerRoutine CompletedHandler, const DcppVoidPnt ClientData, const bool SendCurrent, const int count, StatusType *const status,...) |
| Start a monitor forward operation but orphan it. | |
| void | ForwardStartForget (const char *const MTask, const char *const Action, const DcppHandlerRoutine StartHandler, const DcppHandlerRoutine CompletedHandler, const DcppVoidPnt ClientData, const bool SendCurrent, const int count, StatusType *const status,...) |
| Start a monitor forward operation but orphan it after starting. | |
| void | Add (const char *const name, StatusType *const status, const DcppHandlerRoutine SuccessHandler=0, const DcppHandlerRoutine ErrorHandler=0, const DcppVoidPnt ClientData=0) const |
| Add a parameter to the list of parameters being monitored. | |
| void | Delete (const char *const name, StatusType *const status, const DcppHandlerRoutine SuccessHandler=0, const DcppHandlerRoutine ErrorHandler=0, const DcppVoidPnt ClientData=0) const |
| Delete a parameter from the list of parameters being monitored. | |
| void | Cancel (StatusType *const status, const DcppHandlerRoutine SuccessHandler=0, const DcppHandlerRoutine ErrorHandler=0, const DcppVoidPnt ClientData=0) const |
| Trigger the cancelling of a monitor operation. | |
| bool | IsInitial () |
| Returns true if the monitor operation has not yet been started. | |
| bool | IsStarting () |
| Returns true if the monitor operation is currently starting. | |
| bool | IsActive () |
| Returns true if the monitor operation is active. | |
| void | Reset () |
| Reset the state of the monitor. | |
|
|
Construct a parameter monitor controller for the specified task.
|
|
||||||||||||||||||||||||
|
Add a parameter to the list of parameters being monitored. This methods send a DRAMA Monitor message to the task referred to by this object to add a new parameter to the list of parameters being monitored. The monitor operation must already be running.
|
|
||||||||||||||||||||
|
Trigger the cancelling of a monitor operation. This methods send a DRAMA Monitor message to the task referred to by this object trigger cancelling of the monitor operation. The monitor operation must already be running.
|
|
||||||||||||||||||||||||
|
Delete a parameter from the list of parameters being monitored. This methods send a DRAMA Monitor message to the task referred to by this object to delete a parameter from the list of parameters being monitored. The monitor operation must already be running.
|
|
||||||||||||||||||||||||||||||||||||||||
|
Start a monitor forward operation, with started handler. This method causes a monitor message to be sent to the task indicating parameter change messages should be sent to the specified task. If status is ok on return, then the action/UFACE context should reschedule to handle the messages. It should invoked DcppDispatch() to disptach messages to the handler routines.
|
|
||||||||||||||||||||||||||||||||||||
|
Start a monitor forward operation. This method causes a monitor message to be sent to the task indicating parameter change messages should be sent to the specified task . If status is ok on return, then the action/UFACE context should reschedule to handle the messages. It should invoked DcppDispatch() to disptach messages to the handler routines.
|
|
||||||||||||||||||||||||||||||||||||
|
Start a monitor forward operation but orphan it. This method causes a monitor forward message to be sent to the task. If status is ok on return the message has been started but orphaned. The orphan handler should invoked DcppDispatch() to disptach messages to the handler routines.
|
|
||||||||||||||||||||||||||||||||||||||||
|
Start a monitor forward operation but orphan it after starting. This method causes a monitor forward message to be sent to the task. If status is ok on return the message has been started and will be orphaned after the StartHandler is inovked. The orphan handler should invoked DcppDispatch() to disptach messages to the handler routines.
|
|
|
Returns true if the monitor operation is active.
|
|
|
Returns true if the monitor operation has not yet been started.
|
|
|
Returns true if the monitor operation is currently starting.
|
|
||||||||||||||||||||||||||||||||
|
Start a monitor operation. This method causes a monitor message to be sent to the task. If status is ok on return, then the action/UFACE context should reschedule to handle the messages. It should invoked DcppDispatch() to disptach messages to the handler routines.
|
|
||||||||||||||||||||||||||||||||
|
Start a monitor operation but orphan it. This method causes a monitor message to be sent to the task. If status is ok on return the message has been started but orphaned. The orphan handler should invoked DcppDispatch() to disptach messages to the handler routines.
|
|
|
Reset the state of the monitor.
|
|
|
Return the associated task object. returns The task object associated with this monitor |
Click here for the DRAMA home page and here for the AAO home page.
For more information, contact tjf@aaoepp.aao.gov.au Generated on Tue Nov 3 09:09:56 2009 for AAO DRAMA C++ Interfaces by
1.2.18