ALMA Computing Group

acsexmplBuilding::Door Interface Reference

This interface belongs to the example device "Door". More...

import "acsexmplBuilding.idl";

List of all members.

Public Member Functions

void open (in ACS::CBvoid cb, in ACS::CBDescIn desc)
 Opens the door by setting the corresponding reference position.
void close (in ACS::CBvoid cb, in ACS::CBDescIn desc)
 Closes the door by setting the corresponding reference position.
void move (in double pos) raises (ACSErr::ACSException)
 Moves the door by setting the new reference position.

Public Attributes

readonly attribute ACS::RWdouble ref_position
 Reference position - where we want the door to move to.
readonly attribute ACS::ROdouble position
 Real position - where the door really is.
readonly attribute ACS::ROlong substate
 Substate - DWF...this should be replaced by an enum.
readonly attribute ACS::ROstring version
 Version - the version of the implementation of this IDL interface.


Detailed Description

This interface belongs to the example device "Door".

It represents simple position control and is used within an hierarchical device (i.e., a door that isn't attached to a building isn't very useful).

Definition at line 50 of file acsexmplBuilding.idl.


Member Function Documentation

void acsexmplBuilding::Door::close in ACS::CBvoid  cb,
in ACS::CBDescIn  desc
 

Closes the door by setting the corresponding reference position.

This is an asynchronous method.

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

*

void acsexmplBuilding::Door::move in double  pos  )  raises (ACSErr::ACSException)
 

Moves the door by setting the new reference position.

Parameters:
pos New reference position An ACSException if the position is out of range.
Returns:
void *

*

void acsexmplBuilding::Door::open in ACS::CBvoid  cb,
in ACS::CBDescIn  desc
 

Opens the door by setting the corresponding reference position.

This is an asynchronous method.

Parameters:
cb callback when the door has been opened.
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::ROdouble acsexmplBuilding::Door::position
 

Real position - where the door really is.

Definition at line 92 of file acsexmplBuilding.idl.

readonly attribute ACS::RWdouble acsexmplBuilding::Door::ref_position
 

Reference position - where we want the door to move to.

Definition at line 88 of file acsexmplBuilding.idl.

readonly attribute ACS::ROlong acsexmplBuilding::Door::substate
 

Substate - DWF...this should be replaced by an enum.

Definition at line 96 of file acsexmplBuilding.idl.

readonly attribute ACS::ROstring acsexmplBuilding::Door::version
 

Version - the version of the implementation of this IDL interface.

Definition at line 101 of file acsexmplBuilding.idl.


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