ALMA Computing Group

AsyncMethodCBvoid Class Reference

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

#include <acsexmplAsyncMethodCB.h>

List of all members.

Public Member Functions

 AsyncMethodCBvoid (ACE_CString name)
 Constructor.
 ~AsyncMethodCBvoid ()
 Destructor (nothing to do here).
void working (const ACSErr::Completion &c, const ACS::CBDescOut &desc)
void done (const ACSErr::Completion &c, const ACS::CBDescOut &desc)
CORBA::Boolean negotiate (ACS::TimeInterval time_to_transmit, const ACS::CBDescOut &desc)

Private Attributes

ACE_CString methodName


Detailed Description

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

Definition at line 43 of file acsexmplAsyncMethodCB.h.


Constructor & Destructor Documentation

AsyncMethodCBvoid::AsyncMethodCBvoid ACE_CString  name  )  [inline]
 

Constructor.

Parameters:
property The name of the async method
Definition at line 53 of file acsexmplAsyncMethodCB.h.

References methodName.

AsyncMethodCBvoid::~AsyncMethodCBvoid  )  [inline]
 

Destructor (nothing to do here).

Definition at line 60 of file acsexmplAsyncMethodCB.h.


Member Function Documentation

void AsyncMethodCBvoid::done const ACSErr::Completion &  c,
const ACS::CBDescOut &  desc
 

Definition at line 91 of file acsexmplAsyncMethodCB.cpp.

References methodName.

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

Definition at line 99 of file acsexmplAsyncMethodCB.cpp.

References methodName.

void AsyncMethodCBvoid::working const ACSErr::Completion &  c,
const ACS::CBDescOut &  desc
 

Definition at line 84 of file acsexmplAsyncMethodCB.cpp.

References methodName.


Member Data Documentation

ACE_CString AsyncMethodCBvoid::methodName [private]
 

Definition at line 46 of file acsexmplAsyncMethodCB.h.

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


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