#include <acsexmplCallbacks.h>
List of all members.
Detailed Description
This is the implementation of a callback class that will handle callbacks coming from the installed Monitor or asynchronous method invocation.
Constructor & Destructor Documentation
MyCBdouble::MyCBdouble |
( |
ACE_CString |
_prop |
) |
[inline] |
MyCBdouble::~MyCBdouble |
( |
|
) |
[inline] |
Destructor - nothing to delete.
Member Function Documentation
Method invoked for the final value of a BACI monitor or when an asynchronous method which returns a double is invoked.
- Parameters:
-
| value | The double value we are interested in. |
| c | Error handling structure. |
| desc | Callback descriptor |
- Returns:
- void
CORBA::Boolean MyCBdouble::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 analyze 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.
Method invoked only within the context of a BACI monitor when a value changes or the timeout period has passed.
- Parameters:
-
| value | The double value of the BACI property. |
| c | Error handling structure. |
| desc | Callback descriptor |
- Returns:
- void
The documentation for this class was generated from the following file: