European
Southern
Observatory

ESO — Reaching New Heights in Astronomy

Countries taking part in the ESO

VLT Software Documentation

prsAH_MAIN_TASK_VLT Class Reference

See man page prsAH_MAIN_TASK_VLT(4)
More...

#include <prsAH_MAIN_TASK_VLT.h>

Inheritance diagram for prsAH_MAIN_TASK_VLT:
Inheritance graph
[legend]
Collaboration diagram for prsAH_MAIN_TASK_VLT:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 prsAH_MAIN_TASK_VLT (const dbSYMADDRESS dbPoint, prsAH_TRACK &track, prsAH_GUIDE_VLT &guide, prsAH_AO &ao, prsAH_STD_MOD &stdMod, prsAH_ADC &adc, prsAH_M2 &m2, prsAH_M1 &m1)
 ~prsAH_MAIN_TASK_VLT ()

Protected Member Functions

virtual evhCB_COMPL_STAT ExePresetCB (msgMESSAGE &msg, void *udata)
virtual ccsCOMPL_STAT PresetAbort (vltINT16 errorNumber)
virtual ccsCOMPL_STAT PresetAbortPermitted (vltLOGICAL &permitted, fndSTRING &reason)
virtual ccsCOMPL_STAT Reset ()

Protected Attributes

prsAH_GUIDE_VLTguide_vlt

Private Attributes

prsAH_ADCadc
prsAH_M2m2
prsAH_M1m1

Detailed Description

See man page prsAH_MAIN_TASK_VLT(4)
Manpage of prsAH_MAIN_TASK_VLT

prsAH_MAIN_TASK_VLT

Section: Devices and Network Interfaces (4)
Updated: 2012-04-23 10:10
Index Return to man pages list
 

NAME

prsAH_MAIN_TASK_VLT - Main class for the prsAction program

 

SYNOPSIS


#include "prsAH_MAIN_TASK_VLT.h"

class prsAH_MAIN_TASK_VLT : public prsAH_MAIN_TASK
{
  public:
    prsAH_MAIN_TASK_VLT(const dbSYMADDRESS  dbPoint,
                    prsAH_TRACK   &track,
                    prsAH_GUIDE   &guide,
                    prsAH_AO      &ao,
                    prsAH_STD_MOD &stdMod,
                    prsAH_ADC     &adc,
                    prsAH_M2      &m2,
                    prsAH_M1      &m1);
   ~prsAH_MAIN_TASK_VLT();


  protected:
    virtual evhCB_COMPL_STAT  ExePresetCB(msgMESSAGE &msg, void *udata);
    virtual ccsCOMPL_STAT     PresetAbort(vltINT16 errorNumber);

    // Add also access methods for private data members

  private:
    prsAH_ADC     &adc;
    prsAH_M2      &m2;
    prsAH_M1      &m1;
};

 

PARENT CLASS


prsAH_MAIN_TASK

 

DESCRIPTION


An instance of this class is the core of the prsAction program and
is used to drive and control the execution of a telescope preset.
The class uses several other objects to interface with the other TCS
modules in place of talking directly to them. This improves the modularity
of the system.
With respect to the general class, support for m2 and adc have been added
It also has support for auto guiding with field stabilisation.


 

PUBLIC METHODS


prsAH_MAIN_TASK_VLT(const dbSYMADDRESS  dbPoint,
                prsAH_TRACK   &track,
                prsAH_GUIDE   &guide,
                prsAH_ADC     &adc,
                prsAH_M2      &m2,
                prsAH_AO      &ao,
                prsAH_STD_MOD &stdMod);

  The constructor receives as parameter the symbolic address of
  online database support point for the object, i.e. the point
  where the object can find configuration and run time values.
  It also receives the references to the objects
  internally used. Passing the objects on the contructor warranties
  that they already exist, makes explicit the dependency and
  avoid using global variables.

~prsAH_MAIN_TASK_VLT()


 

PROTECTED METHODS


evhCB_COMPL_STAT  ExePresetCB(msgMESSAGE &msg, void *udata)
  This callback is executed when a positive reply to a "switch TCS to
  preset" command is received from the "Mode Switching" module.
  This implies that TCS is now in preset mode and the preset can go on.
  This method is the most likely to be subject to changes during
  implementation and maintenance of the TCS software.
  Look at the pseudo code of the function for details on the sequence.

ccsCOMPL_STAT PresetAbort(vltINT16 errorNumber)
  This method overload the corresponding method of the parent class
  in order to provide also support for reset of adc and m2

virtual ccsCOMPL_STAT Reset();
  Reset all the command senging sub-objects, in particular when
  a PRESET aborts.

 

PRIVATE DATA MEMBERS


Cooperating objects:

  prsAH_ADC     &adc
  prsAH_M2      &m2
  prsAH_M1      &m1


 

ON LINE DATABASE


The following database branch in the preset structure pertains
to the instance of prsAH_MAIN_TASK_VLT:

         CLASS prsACTION prsACTION_VLT
 

BEGIN //


             ATTRIBUTE prsGUIDE_VLT  guide
             ATTRIBUTE prsADC        adc
             ATTRIBUTE prsM2         m2
             ATTRIBUTE prsM1         m1
 

END //


It is an instance of prsACTION_VLT and implements the base point for the
whole prsAction task.
It add to new attributes (adc and m2) to support the new features of VLT
and overload "guide" vith a specialized VLT implementation,

 

SEE ALSO


prsAH_MAIN_TASK(4)



 

Index

NAME
SYNOPSIS
PARENT CLASS
DESCRIPTION
PUBLIC METHODS
PROTECTED METHODS
PRIVATE DATA MEMBERS
ON LINE DATABASE
BEGIN //
END //
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 10:10:48 GMT, April 23, 2012

Definition at line 30 of file prsAH_MAIN_TASK_VLT.h.


Constructor & Destructor Documentation

prsAH_MAIN_TASK_VLT::prsAH_MAIN_TASK_VLT ( const dbSYMADDRESS  dbPoint,
prsAH_TRACK track,
prsAH_GUIDE_VLT guide,
prsAH_AO ao,
prsAH_STD_MOD stdMod,
prsAH_ADC adc,
prsAH_M2 m2,
prsAH_M1 m1 
)
prsAH_MAIN_TASK_VLT::~prsAH_MAIN_TASK_VLT (  ) 

Definition at line 240 of file prsAH_MAIN_TASK_VLT.C.


Member Function Documentation

evhCB_COMPL_STAT prsAH_MAIN_TASK_VLT::ExePresetCB ( msgMESSAGE &  msg,
void *  udata 
) [protected, virtual]
ccsCOMPL_STAT prsAH_MAIN_TASK_VLT::PresetAbort ( vltINT16  errorNumber  )  [protected, virtual]

Reimplemented from prsAH_MAIN_TASK.

Definition at line 503 of file prsAH_MAIN_TASK_VLT.C.

ccsCOMPL_STAT prsAH_MAIN_TASK_VLT::PresetAbortPermitted ( vltLOGICAL &  permitted,
fndSTRING &  reason 
) [protected, virtual]

Reimplemented from prsAH_MAIN_TASK.

Definition at line 551 of file prsAH_MAIN_TASK_VLT.C.

References m1.

ccsCOMPL_STAT prsAH_MAIN_TASK_VLT::Reset (  )  [protected, virtual]

Reimplemented from prsAH_MAIN_TASK.

Definition at line 526 of file prsAH_MAIN_TASK_VLT.C.

References adc, m1, m2, prsERR_ABORT_PRESET, and prsMOD.


Member Data Documentation

Definition at line 52 of file prsAH_MAIN_TASK_VLT.h.

Referenced by ExePresetCB(), and Reset().

Definition at line 49 of file prsAH_MAIN_TASK_VLT.h.

Referenced by ExePresetCB().

Definition at line 54 of file prsAH_MAIN_TASK_VLT.h.

Referenced by ExePresetCB(), PresetAbortPermitted(), and Reset().

Definition at line 53 of file prsAH_MAIN_TASK_VLT.h.

Referenced by ExePresetCB(), and Reset().


The documentation for this class was generated from the following files:
Generated on Mon Apr 23 10:12:42 2012 for INTROOT API by doxygen 1.6.3