Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

acsexmplFilterWheel::FilterWheel Interface Reference

import "acsexmplFilterWheel.idl";

Inheritance diagram for acsexmplFilterWheel::FilterWheel:

Inheritance graph
[legend]
Collaboration diagram for acsexmplFilterWheel::FilterWheel:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void moveFilterInBeam (in string filterName, in ACS::CBvoid cb, in ACS::CBDescIn desc)
void moveSlotInBeam (in long slot, in ACS::CBvoid cb, in ACS::CBDescIn desc)
void adjust (in long step, in ACS::CBvoid cb, in ACS::CBDescIn desc)
long calibrateFilter (in string filterName)
long calibrateWheel (in long slot)

Public Attributes

readonly attribute ACS::ROdouble position
readonly attribute ACS::ROlong slots
readonly attribute ACS::ROstring desc

Detailed Description

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


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.

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

This property is the position of the lamp wheel.

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

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


The documentation for this interface was generated from the following file:
Generated on Thu Apr 30 02:28:38 2009 for ACS IDL interfaces by doxygen 1.3.8