Public Member Functions | Private Attributes

AsyncCBdouble Class Reference

#include <acsexmplAsyncCallbacks.h>

List of all members.

Public Member Functions

 AsyncCBdouble (ACE_CString property, double *var)
 ~AsyncCBdouble ()
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)


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

References propertyName, and varToUpdate.

AsyncCBdouble::~AsyncCBdouble (  )  [inline]

Destructor (nothing to do here)


Member Function Documentation

void AsyncCBdouble::done ( CORBA::Double  value,
const ACSErr::Completion c,
const ACS::CBDescOut desc 
)
CORBA::Boolean AsyncCBdouble::negotiate ( ACS::TimeInterval  time_to_transmit,
const ACS::CBDescOut desc 
)
void AsyncCBdouble::working ( CORBA::Double  value,
const ACSErr::Completion c,
const ACS::CBDescOut desc 
)

Member Data Documentation

ACE_CString AsyncCBdouble::propertyName [private]

Referenced by AsyncCBdouble().

double* AsyncCBdouble::varToUpdate [private]

Referenced by AsyncCBdouble().


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