#include <acscourseMount4Impl.h>
Inheritance diagram for Mount4Impl:


Public Member Functions | |
| Mount4Impl (const ACE_CString &name, maci::ContainerServices *containerServices) | |
| virtual | ~Mount4Impl () |
| virtual ActionRequest | invokeAction (int function, BACIComponent *cob_p, const int &callbackID, const CBDescIn &descIn, BACIValue *value_p, Completion &completion, CBDescOut &descOut) |
| virtual ActionRequest | objfixAction (BACIComponent *cob_p, const int &callbackID, const CBDescIn &descIn, BACIValue *value_p, Completion &completion, CBDescOut &descOut) |
| virtual void | objfix (CORBA::Double az, CORBA::Double elev) throw (CORBA::SystemException) |
| virtual void | objfix_async (CORBA::Double az, CORBA::Double elev, ACS::CBvoid_ptr cb, const ACS::CBDescIn &desc) throw (CORBA::SystemException) |
| virtual ACS::ROdouble_ptr | cmdAz () throw (CORBA::SystemException) |
| virtual ACS::ROdouble_ptr | cmdEl () throw (CORBA::SystemException) |
| virtual ACS::ROdouble_ptr | actAz () throw (CORBA::SystemException) |
| virtual ACS::ROdouble_ptr | actEl () throw (CORBA::SystemException) |
Protected Member Functions | |
| void | operator= (const Mount4Impl &) |
Protected Attributes | |
| SmartPropertyPointer< ROdouble > | m_cmdAz_sp |
| SmartPropertyPointer< ROdouble > | m_cmdEl_sp |
| SmartPropertyPointer< ROdouble > | m_actAz_sp |
| SmartPropertyPointer< ROdouble > | m_actEl_sp |
Friends | |
| class | PositionControlThread |
|
||||||||||||
|
Constructor
|
|
|
Destructor |
|
|
Returns a reference to the actAz property Implementation of IDL interface for the property.
|
|
|
Returns a reference to the actEl property Implementation of IDL interface for the property.
|
|
|
Returns a reference to the cmdAz property Implementation of IDL interface for the property.
|
|
|
Returns a reference to the cmdEl property Implementation of IDL interface for the property.
|
|
||||||||||||||||||||||||||||||||
|
Action dispatcher function This function is called whenever an asynchronous request has to be handled. It receives (as parameters) the description of the function and selects the proper implementation to call.
Implements baci::ActionImplementator. |
|
||||||||||||
|
(Pre)sets a new non-moving position for the antenna. The position coordinates are given in azimuth and elevation. The actual az and elev values are written to the properties cmdAz, cmdEl, actAz and actEl.
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||
|
Implementation of asynchronous objfix() method This is the function that actually switches on the Lamp and, when completed, invokes the callback installed by the client when it requested the action.
|
|
|
ALMA C++ coding standards state copy operators should be disabled. |
|
|
The PositionControlThread class needs to access the private members of this class, and therefore is given friend status |
|
|
m_actAz_p is the antenna's actual azimuth |
|
|
m_actEl_p is the antenna's actual elevation |
|
|
m_cmdAz_p is the antenna's commanded azimuth |
|
|
m_cmdEl_p is the antenna's commanded elevation |
1.3.6