Mount4Impl − |
#include <acscourseMount4Impl.h> Inherits baci::CharacteristicComponentImpl, and baci::ActionImplementator. |
Classes |
struct __objfix_action |
Public Member Functions |
Mount4Impl (const ACE_CString &name, maci::ContainerServices *containerServices) |
virtual ~Mount4Impl () |
virtual baci::ActionRequest invokeAction (int function, baci::BACIComponent *cob_p, const int &callbackID, const CBDescIn &descIn, baci::BACIValue *value_p, Completion &completion, CBDescOut &descOut) |
virtual baci::ActionRequest objfixAction (baci::BACIComponent *cob_p, const int &callbackID, const CBDescIn &descIn, baci::BACIValue *value_p, Completion &completion, CBDescOut &descOut) |
virtual void objfix (CORBA::Double az, CORBA::Double elev) |
virtual void objfix_async (CORBA::Double az, CORBA::Double elev, ACS::CBvoid_ptr cb, const ACS::CBDescIn &desc) |
virtual ACS::ROdouble_ptr cmdAz () |
virtual ACS::ROdouble_ptr cmdEl () |
virtual ACS::ROdouble_ptr actAz () |
virtual ACS::ROdouble_ptr actEl () |
Protected Member Functions |
void operator= (const Mount4Impl &) |
Protected Attributes |
baci::SmartPropertyPointer< baci::ROdouble > m_cmdAz_sp |
baci::SmartPropertyPointer< baci::ROdouble > m_cmdEl_sp |
baci::SmartPropertyPointer< baci::ROdouble > m_actAz_sp |
baci::SmartPropertyPointer< baci::ROdouble > m_actEl_sp |
Friends |
class PositionControlThread |
Mount4Impl::Mount4Impl (const ACE_CString & name, maci::ContainerServices * containerServices) Constructor |
Parameters: |
poa Poa which will activate this and also all
other components. |
virtual Mount4Impl::~Mount4Impl () [virtual] Destructor |
virtual ACS::ROdouble_ptr Mount4Impl::actAz () [virtual] Returns a reference to the actAz property Implementation of IDL interface for the property. |
Returns: |
pointer to read-only double property actAz |
virtual ACS::ROdouble_ptr Mount4Impl::actEl () [virtual] Returns a reference to the actEl property Implementation of IDL interface for the property. |
Returns: |
pointer to read-only double property actEl |
virtual ACS::ROdouble_ptr Mount4Impl::cmdAz () [virtual] Returns a reference to the cmdAz property Implementation of IDL interface for the property. |
Returns: |
pointer to read-write double property cmdAz |
virtual ACS::ROdouble_ptr Mount4Impl::cmdEl () [virtual] Returns a reference to the cmdEl property Implementation of IDL interface for the property. |
Returns: |
pointer to read-only write property cmdEl |
virtual baci::ActionRequest Mount4Impl::invokeAction (int function, baci::BACIComponent * cob_p, const int & callbackID, const CBDescIn & descIn, baci::BACIValue * value_p, Completion & completion, CBDescOut & descOut) [virtual] 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. |
Parameters: |
function Action funtion to be invoked. |
Returns: |
Request to be performed by BACI |
• |
reqNone - Do nothing (action will be kept in queue). |
||
• |
reqInvokeWorking - Invoke <type>Callback::working. |
||
• |
reqInvokeDone - Invoke <type>Callback::done and destroy callback. |
||
• |
reqDestroy - Destroy callback (callback should have been called already by function). |
Implements baci::ActionImplementator. |
virtual void Mount4Impl::objfix (CORBA::Double az, CORBA::Double elev) [virtual] (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. |
Parameters: |
az position azimuth (degree) |
Returns: |
void |
virtual void Mount4Impl::objfix_async (CORBA::Double az, CORBA::Double elev, ACS::CBvoid_ptr cb, const ACS::CBDescIn & desc) [virtual] |
virtual baci::ActionRequest Mount4Impl::objfixAction (baci::BACIComponent * cob_p, const int & callbackID, const CBDescIn & descIn, baci::BACIValue * value_p, Completion & completion, CBDescOut & descOut) [virtual] 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. |
Parameters: |
cob Owner of the action. |
Returns: |
Request to be performed by BACI. |
• |
reqNone - Do nothing (action will be kept in queue). |
||
• |
reqInvokeWorking - Invoke <type>Callback::working. |
||
• |
reqInvokeDone - Invoke <type>Callback::done and destroy callback. |
||
• |
reqDestroy - Destroy callback (callback should has been called already by function). |
void Mount4Impl::operator= (const Mount4Impl &) [protected] ALMA C++ coding standards state copy operators should be disabled. |
friend class PositionControlThread [friend] The PositionControlThread class needs to access the private members of this class, and therefore is given friend status |
baci::SmartPropertyPointer<baci::ROdouble> Mount4Impl::m_actAz_sp [protected] m_actAz_p is the antenna’s actual azimuth |
baci::SmartPropertyPointer<baci::ROdouble> Mount4Impl::m_actEl_sp [protected] m_actEl_p is the antenna’s actual elevation |
baci::SmartPropertyPointer<baci::ROdouble> Mount4Impl::m_cmdAz_sp [protected] m_cmdAz_p is the antenna’s commanded azimuth |
baci::SmartPropertyPointer<baci::ROdouble> Mount4Impl::m_cmdEl_sp [protected] m_cmdEl_p is the antenna’s commanded elevation |
Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code. |