ALMA Computing Group

Mount5Impl Class Reference

#include <acscourseMount5Impl.h>

List of all members.

Public Member Functions

 Mount5Impl (const ACE_CString &name, maci::ContainerServices *containerServices)
 Constructor Nearly identical to the Mount1 C++ class's implementation except that it instantiates both event supplier and consumer objects.
virtual ~Mount5Impl ()
 Destructor Nearly identical to the Mount1 C++ class's implementation except that it destroys the event supplier and consumer objects.
virtual void objfix (CORBA::Double az, CORBA::Double elev)
 (Pre)sets a new non-moving position for the antenna.
virtual ACS::ROdouble_ptr cmdAz ()
 Returns a reference to the cmdAz property Implementation of IDL interface for the property.
virtual ACS::ROdouble_ptr cmdEl ()
 Returns a reference to the cmdEl property Implementation of IDL interface for the property.
virtual ACS::ROdouble_ptr actAz ()
 Returns a reference to the actAz property Implementation of IDL interface for the property.
virtual ACS::ROdouble_ptr actEl ()
 Returns a reference to the actEl property Implementation of IDL interface for the property.

Protected Attributes

baci::SmartPropertyPointer<
baci::ROdouble > 
m_cmdAz_sp
 m_cmdAz_p is the antenna's commanded azimuth
baci::SmartPropertyPointer<
baci::ROdouble > 
m_cmdEl_sp
 m_cmdEl_p is the antenna's commanded elevation
baci::SmartPropertyPointer<
baci::ROdouble > 
m_actAz_sp
 m_actAz_p is the antenna's actual azimuth
baci::SmartPropertyPointer<
baci::ROdouble > 
m_actEl_sp
 m_actEl_p is the antenna's actual elevation

Private Member Functions

void operator= (const Mount5Impl &)
 ALMA C++ coding standards state copy operators should be disabled.

Private Attributes

nc::SimpleSupplier * m_MountSupplier_p
 This is the Supplier class used to publish data to the event channel.
nc::SimpleConsumer< ACSCOURSE_MOUNT::MountEventData > * m_simpConsumer_p
 This is the Consumer class used to consumer data from the event channel.


Detailed Description

Definition at line 85 of file acscourseMount5Impl.h.


Constructor & Destructor Documentation

Mount5Impl::Mount5Impl ( const ACE_CString &  name,
maci::ContainerServices *  containerServices 
)

Constructor Nearly identical to the Mount1 C++ class's implementation except that it instantiates both event supplier and consumer objects.

Parameters:
name component's name.
containerServices the container services object for this component

Definition at line 51 of file acscourseMount5Impl.cpp.

References m_MountSupplier_p, m_simpConsumer_p, and myHandlerFunction().

Mount5Impl::~Mount5Impl (  )  [virtual]

Destructor Nearly identical to the Mount1 C++ class's implementation except that it destroys the event supplier and consumer objects.

Definition at line 80 of file acscourseMount5Impl.cpp.

References m_MountSupplier_p, and m_simpConsumer_p.


Member Function Documentation

ACS::ROdouble_ptr Mount5Impl::actAz (  )  [virtual]

Returns a reference to the actAz property Implementation of IDL interface for the property.

Returns:
pointer to read-only double property actAz

Definition at line 161 of file acscourseMount5Impl.cpp.

References m_actAz_sp.

ACS::ROdouble_ptr Mount5Impl::actEl (  )  [virtual]

Returns a reference to the actEl property Implementation of IDL interface for the property.

Returns:
pointer to read-only double property actEl

Definition at line 174 of file acscourseMount5Impl.cpp.

References m_actEl_sp.

ACS::ROdouble_ptr Mount5Impl::cmdAz (  )  [virtual]

Returns a reference to the cmdAz property Implementation of IDL interface for the property.

Returns:
pointer to read-write double property cmdAz

Definition at line 135 of file acscourseMount5Impl.cpp.

References m_cmdAz_sp.

ACS::ROdouble_ptr Mount5Impl::cmdEl (  )  [virtual]

Returns a reference to the cmdEl property Implementation of IDL interface for the property.

Returns:
pointer to read-only write property cmdEl

Definition at line 148 of file acscourseMount5Impl.cpp.

References m_cmdEl_sp.

void Mount5Impl::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)
elev position elevation (degree)
Exceptions:
ACSErrTypeACSCourse::TargetOutOfRangeEx 
Returns:
void

Definition at line 102 of file acscourseMount5Impl.cpp.

References m_actAz_sp, m_actEl_sp, m_cmdAz_sp, m_cmdEl_sp, and m_MountSupplier_p.

void Mount5Impl::operator= ( const Mount5Impl  )  [private]

ALMA C++ coding standards state copy operators should be disabled.


Member Data Documentation

baci::SmartPropertyPointer<baci::ROdouble> Mount5Impl::m_actAz_sp [protected]

m_actAz_p is the antenna's actual azimuth

Definition at line 183 of file acscourseMount5Impl.h.

Referenced by actAz(), and objfix().

baci::SmartPropertyPointer<baci::ROdouble> Mount5Impl::m_actEl_sp [protected]

m_actEl_p is the antenna's actual elevation

Definition at line 188 of file acscourseMount5Impl.h.

Referenced by actEl(), and objfix().

baci::SmartPropertyPointer<baci::ROdouble> Mount5Impl::m_cmdAz_sp [protected]

m_cmdAz_p is the antenna's commanded azimuth

Definition at line 173 of file acscourseMount5Impl.h.

Referenced by cmdAz(), and objfix().

baci::SmartPropertyPointer<baci::ROdouble> Mount5Impl::m_cmdEl_sp [protected]

m_cmdEl_p is the antenna's commanded elevation

Definition at line 178 of file acscourseMount5Impl.h.

Referenced by cmdEl(), and objfix().

nc::SimpleSupplier* Mount5Impl::m_MountSupplier_p [private]

This is the Supplier class used to publish data to the event channel.

Definition at line 196 of file acscourseMount5Impl.h.

Referenced by Mount5Impl(), objfix(), and ~Mount5Impl().

nc::SimpleConsumer<ACSCOURSE_MOUNT::MountEventData>* Mount5Impl::m_simpConsumer_p [private]

This is the Consumer class used to consumer data from the event channel.

The templated parameter is the type of event that will be subscribed to.

Definition at line 204 of file acscourseMount5Impl.h.

Referenced by Mount5Impl(), and ~Mount5Impl().


The documentation for this class was generated from the following files: