Public Member Functions | Public Attributes

acsexmplLamp::Lamp Interface Reference

import "acsexmplLamp.idl";

Inheritance diagram for acsexmplLamp::Lamp:
Inheritance graph
[legend]
Collaboration diagram for acsexmplLamp::Lamp:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void on (in ACS::CBvoid cb, in ACS::CBDescIn desc)
void off (in ACS::CBvoid cb, in ACS::CBDescIn desc)

Public Attributes

readonly attribute ACS::RWdouble brightness

Detailed Description

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


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

This property is the brightness of the lamp.


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