ALMA Computing Group

acsexmplFilterWheel::FilterWheel Interface Reference

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

import "acsexmplFilterWheel.idl";

List of all members.

Public Member Functions

void moveFilterInBeam (in string filterName, in ACS::CBvoid cb, in ACS::CBDescIn desc)
 Rotate the filter wheel asynchronously.
void moveSlotInBeam (in long slot, in ACS::CBvoid cb, in ACS::CBDescIn desc)
 Rotate the filter wheel asynchronously.
void adjust (in long step, in ACS::CBvoid cb, in ACS::CBDescIn desc)
 Move the wheel of some step.
long calibrateFilter (in string filterName)
 Set the new delta position for the specified filter (the value is also stored in the CDB).
long calibrateWheel (in long slot)
 Set the actual position for the passed slot (the value is also stored in the CDB).

Public Attributes

readonly attribute ACS::ROdouble position
 This property is the position of the lamp wheel.
readonly attribute ACS::ROlong slots
 This property is the number of available slots in the lamp wheel.
readonly attribute ACS::ROstring desc
 This property is the description of the lamp wheel.


Detailed Description

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

Definition at line 46 of file acsexmplFilterWheel.idl.


Member Function Documentation

void acsexmplFilterWheel::FilterWheel::adjust in long  step,
in ACS::CBvoid  cb,
in ACS::CBDescIn  desc
 

Move the wheel of some step.

Parameters:
step The step to move the wheel
cb callback when the lamp wheel is in position.
desc is used to negotiate timeouts between client and sever. See the BACI specifications for more details.
Returns:
void

long acsexmplFilterWheel::FilterWheel::calibrateFilter in string  filterName  ) 
 

Set the new delta position for the specified filter (the value is also stored in the CDB).

The delta is evaluated by reading the slot step and the actual position of the wheel

The method returns the new delta

The method is synchrnous (it is somehow reasonable because the hardware is not involved i.e. the execution time is fast and short

long acsexmplFilterWheel::FilterWheel::calibrateWheel in long  slot  ) 
 

Set the actual position for the passed slot (the value is also stored in the CDB).

The method returns the position of the new slot

* The method is synchrnous (it is somehow reasonable because the hardware is not involved i.e. the execution time is fast and short

void acsexmplFilterWheel::FilterWheel::moveFilterInBeam in string  filterName,
in ACS::CBvoid  cb,
in ACS::CBDescIn  desc
 

Rotate the filter wheel asynchronously.

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

Parameters:
filterName The name of the filter to put in the beam
cb callback when the lamp wheel is in position.
desc is used to negotiate timeouts between client and sever. See the BACI specifications for more details.
Returns:
void *

*

void acsexmplFilterWheel::FilterWheel::moveSlotInBeam in long  slot,
in ACS::CBvoid  cb,
in ACS::CBDescIn  desc
 

Rotate the filter wheel asynchronously.

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

Parameters:
slot The number of the slot to put in the beam
cb callback when the lamp wheel is in position.
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::ROstring acsexmplFilterWheel::FilterWheel::desc
 

This property is the description of the lamp wheel.

Definition at line 124 of file acsexmplFilterWheel.idl.

readonly attribute ACS::ROdouble acsexmplFilterWheel::FilterWheel::position
 

This property is the position of the lamp wheel.

Definition at line 114 of file acsexmplFilterWheel.idl.

readonly attribute ACS::ROlong acsexmplFilterWheel::FilterWheel::slots
 

This property is the number of available slots in the lamp wheel.

Definition at line 119 of file acsexmplFilterWheel.idl.


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