ALMA Computing Group

AmsTestSeq Class Reference
[ACS Components Examples]

Antenna Mount System Pointing Model. More...

#include <acsexmplAmsSeqImpl.h>

List of all members.

Public Member Functions

 AmsTestSeq (const ACE_CString &name, maci::ContainerServices *containerServices)
 Constructor.
virtual ~AmsTestSeq ()
 Destructor.
virtual void setCoeff ()
 Sets the coefficients of the pointing model.
virtual ACS::RWdoubleSeq_ptr RWdoubleSeqPM ()
 Returns a reference to the RWdoubleSeqPM property Implementation of IDL interface for the property.
virtual ACS::ROdoubleSeq_ptr ROdoubleSeqPM ()
 Returns a reference to the ROdoubleSeqPM property Implementation of IDL interface for the property.
virtual void execute ()
 Called after initialize to tell the component that it has to be ready to accept incoming functional calls any time.

Private Member Functions

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

Private Attributes

baci::RWdoubleSeq * m_RWdoubleSeqPM_p
 m_ROdoubleSeqPM_p is all the coefficients currently set.
baci::ROdoubleSeq * m_ROdoubleSeqPM_p
 m_RWdoubleSeq_p is all the coefficients that the client can set.


Detailed Description

Antenna Mount System Pointing Model.

Class AmsTestSeq can be considered to be a "real-world" distributed object for antenna systems. This class exists between two sections of the antenna mount system. The high-level section executes at the array central control area in the Array Control Computer (ACC), while the low-level section executes at each antenna in the Antenna Bus Master (ABM) computer. AmsTestSeq provides one synchronous method, setCoeff(...), and two properties used for the coefficient of an individual pointing model term. An important thing to note is this example shows usage of property sequence types (i.e., ROdoubleSeq and RWdoubleSeq).

Version:
"@(#) $Id: acsexmplAmsSeqImpl.h,v 1.103 2008/10/09 08:41:11 cparedes Exp $"

Definition at line 121 of file acsexmplAmsSeqImpl.h.


Constructor & Destructor Documentation

AmsTestSeq::AmsTestSeq const ACE_CString &  name,
maci::ContainerServices *  containerServices
 

Constructor.

Parameters:
poa poa which will activate this and also all other components
name component name
Definition at line 42 of file acsexmplAmsSeqImpl.cpp.

AmsTestSeq::~AmsTestSeq  )  [virtual]
 

Destructor.

Definition at line 83 of file acsexmplAmsSeqImpl.cpp.

References m_ROdoubleSeqPM_p, and m_RWdoubleSeqPM_p.


Member Function Documentation

void AmsTestSeq::execute  )  [virtual]
 

Called after initialize to tell the component that it has to be ready to accept incoming functional calls any time.

Must be implemented as a synchronous (blocking) call (can spawn threads though).

Exceptions:
ACSErr::ACSbaseExImpl 
Returns:
void

Definition at line 64 of file acsexmplAmsSeqImpl.cpp.

References m_ROdoubleSeqPM_p, and m_RWdoubleSeqPM_p.

void AmsTestSeq::operator= const AmsTestSeq  )  [private]
 

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

ACS::ROdoubleSeq_ptr AmsTestSeq::ROdoubleSeqPM  )  [virtual]
 

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



Definition at line 158 of file acsexmplAmsSeqImpl.cpp.

References m_ROdoubleSeqPM_p.

ACS::RWdoubleSeq_ptr AmsTestSeq::RWdoubleSeqPM  )  [virtual]
 

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



Definition at line 146 of file acsexmplAmsSeqImpl.cpp.

References m_RWdoubleSeqPM_p.

void AmsTestSeq::setCoeff  )  [virtual]
 

Sets the coefficients of the pointing model.

Returns:
void

Definition at line 114 of file acsexmplAmsSeqImpl.cpp.

References m_ROdoubleSeqPM_p, and m_RWdoubleSeqPM_p.


Member Data Documentation

baci::ROdoubleSeq* AmsTestSeq::m_ROdoubleSeqPM_p [private]
 

m_RWdoubleSeq_p is all the coefficients that the client can set.

Definition at line 196 of file acsexmplAmsSeqImpl.h.

Referenced by execute(), ROdoubleSeqPM(), setCoeff(), and ~AmsTestSeq().

baci::RWdoubleSeq* AmsTestSeq::m_RWdoubleSeqPM_p [private]
 

m_ROdoubleSeqPM_p is all the coefficients currently set.

Definition at line 191 of file acsexmplAmsSeqImpl.h.

Referenced by execute(), RWdoubleSeqPM(), setCoeff(), and ~AmsTestSeq().


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