#include <acsexmplCallbacks.h>
List of all members.
Detailed Description
This class is the implementation of the AlarmDouble IDL interface defined in baci.idl. It is used so that we may create a local alarm for the value of a remote BACI property. There are only two useful methods: alarm_raised and alarm_cleared. They do just what their names imply.
- Version:
- "@(#) $Id: acsexmplCallbacks.h,v 1.8 2008/10/01 04:30:47 cparedes Exp $"
Constructor & Destructor Documentation
MyAlarmdouble::MyAlarmdouble |
( |
ACE_CString |
_prop |
) |
[inline] |
MyAlarmdouble::~MyAlarmdouble |
( |
|
) |
[inline] |
Destructor - nothing to delete.
Member Function Documentation
Method invoked when the double value goes back into the acceptable range.
- Parameters:
-
| value | The double's new value |
| c | Error handing structure. |
| desc | Callback descriptor |
- Returns:
- void
Method invoked when the double value goes out of range.
- Parameters:
-
| value | The double's current (i.e., out of range) value |
| c | Error handing structure. |
| desc | Callback descriptor |
- Returns:
- void
CORBA::Boolean MyAlarmdouble::negotiate |
( |
ACS::TimeInterval |
time_to_transmit, |
|
|
const ACS::CBDescOut & |
desc | |
|
) |
| | [inline] |
Method used so that client and servant can agree upon the time it takes to transmit data (generally invocations of the done method). A smart callback implementation would analize the value of time_to_transmit and decide whether the value is acceptable, but we just return true regardless in this simplistic example.
- Parameters:
-
| time_to_transmit | Time to transmit data. |
| desc | Callback descriptor |
- Returns:
- True regardless of parameter values.
The documentation for this class was generated from the following file: