ALMA Computing Group

AsyncCBdouble Class Reference

A redefinition of the CBdouble class to check how it works It is specialized for our needs (in this demo it only prints log messages). More...

#include <acsexmplAsyncCallbacks.h>

List of all members.

Public Member Functions

 AsyncCBdouble (ACE_CString property, double *var)
 Constructor.
 ~AsyncCBdouble ()
 Destructor (nothing to do here).
void working (CORBA::Double value, const ACSErr::Completion &c, const ACS::CBDescOut &desc)
void done (CORBA::Double value, const ACSErr::Completion &c, const ACS::CBDescOut &desc)
CORBA::Boolean negotiate (ACS::TimeInterval time_to_transmit, const ACS::CBDescOut &desc)

Private Attributes

ACE_CString propertyName
double * varToUpdate


Detailed Description

A redefinition of the CBdouble class to check how it works It is specialized for our needs (in this demo it only prints log messages).

Definition at line 38 of file acsexmplAsyncCallbacks.h.


Constructor & Destructor Documentation

AsyncCBdouble::AsyncCBdouble ACE_CString  property,
double *  var
[inline]
 

Constructor.

Parameters:
property The name of the property
var The poinetr to the variable in the main program
Definition at line 55 of file acsexmplAsyncCallbacks.h.

References propertyName, and varToUpdate.

AsyncCBdouble::~AsyncCBdouble  )  [inline]
 

Destructor (nothing to do here).

Definition at line 63 of file acsexmplAsyncCallbacks.h.


Member Function Documentation

void AsyncCBdouble::done CORBA::Double  value,
const ACSErr::Completion &  c,
const ACS::CBDescOut &  desc
 

Definition at line 74 of file acsexmplAsyncCallbacks.cpp.

References propertyName, and varToUpdate.

CORBA::Boolean AsyncCBdouble::negotiate ACS::TimeInterval  time_to_transmit,
const ACS::CBDescOut &  desc
 

Definition at line 86 of file acsexmplAsyncCallbacks.cpp.

References propertyName.

void AsyncCBdouble::working CORBA::Double  value,
const ACSErr::Completion &  c,
const ACS::CBDescOut &  desc
 

Definition at line 62 of file acsexmplAsyncCallbacks.cpp.

References propertyName.


Member Data Documentation

ACE_CString AsyncCBdouble::propertyName [private]
 

Definition at line 41 of file acsexmplAsyncCallbacks.h.

Referenced by AsyncCBdouble(), done(), negotiate(), and working().

double* AsyncCBdouble::varToUpdate [private]
 

Definition at line 47 of file acsexmplAsyncCallbacks.h.

Referenced by AsyncCBdouble(), and done().


The documentation for this class was generated from the following files: