ALMA Computing Group

acsexmplLamp::Lamp Interface Reference

Interface Lamp is a very simple interface which uses only asynchronous methods. More...

import "acsexmplLamp.idl";

List of all members.

Public Member Functions

void on (in ACS::CBvoid cb, in ACS::CBDescIn desc)
 Turns the lamp on asynchronously.
void off (in ACS::CBvoid cb, in ACS::CBDescIn desc)
 Turns the lamp off asynchronously.

Public Attributes

readonly attribute ACS::RWdouble brightness
 This property is the brightness of the lamp.


Detailed Description

Interface Lamp is a very simple interface which uses only asynchronous methods.

Definition at line 45 of file acsexmplLamp.idl.


Member Function Documentation

void acsexmplLamp::Lamp::off in ACS::CBvoid  cb,
in ACS::CBDescIn  desc
 

Turns the lamp off asynchronously.

That is, we are notified by the callback when the method really completes.

Parameters:
cb callback when the light has been turned off.
desc is used to negotiate timeouts between client and sever. See the BACI specifications for more details.
Returns:
void *

*

void acsexmplLamp::Lamp::on in ACS::CBvoid  cb,
in ACS::CBDescIn  desc
 

Turns the lamp on asynchronously.

That is, we are notified by the callback when the method really completes.

Parameters:
cb callback when the light has been turned on.
desc is used to negotiate timeouts between client and sever. See the BACI specifications for more details.
Returns:
void *

*


Member Data Documentation

readonly attribute ACS::RWdouble acsexmplLamp::Lamp::brightness
 

This property is the brightness of the lamp.

Definition at line 75 of file acsexmplLamp.idl.


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