Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

agwsTRANSFER.h

Go to the documentation of this file.
00001 #ifndef agwsTRANSFER_H
00002 #define agwsTRANSFER_H
00003 /******************************************************************************
00004 * E.S.O. - VLT project
00005 *
00006 * "@(#) $Id: agwsTRANSFER.h,v 1.182 2003/11/12 08:34:13 vltsccm Exp $"
00007 *
00008 * who       when      what
00009 * --------  --------  ----------------------------------------------
00010 * nfiebig   29/05/96  created
00011 */
00012 
00013 /************************************************************************
00014  * Definition of the agwsTRANSFER service class
00015  *----------------------------------------------------------------------
00016  */
00017 
00018 #ifndef __cplusplus
00019 #error This is a C++ include file and cannot be used from plain C
00020 #endif
00021 
00022 #include "agws.h"
00023 #include "agwsSTATE.h"
00024 #include "evhOBJ_CALLBACK.h"
00025 #include "evhCOMMAND.h"
00026 
00027 class agwsTRANSFER : public evhCOMMAND
00028 {
00029   public:
00030     agwsTRANSFER(const dbSYMADDRESS dbPoint, 
00031                  const dbATTRIBUTE targetName = NULL);
00032     ccsCOMPL_STAT Target(const dbATTRIBUTE targetName);
00033     ccsCOMPL_STAT Send(const msgCMD cmd, const char *buffer, 
00034                        vltINT32 startState, vltINT32 endState);
00035 
00036     virtual ccsCOMPL_STAT Reset();
00037     const char *GetTarget() const;
00038 
00039   protected:
00040     int _ReplyCB(msgMESSAGE &msg, void *udata);
00041     int _ErrReplyCB(msgMESSAGE &msg, void *udata);
00042     int _TimeoutCB(msgMESSAGE &msg, void *udata);
00043 
00044   private:
00045     agwsSTATE state;           // state handling object
00046     char      targetName[32];  // attribute name of target specification
00047     vltINT32  endState;        // state to switch to on command completion
00048     static vltINT32 numOfCmdsActive;
00049 };
00050 
00051 #endif // !agwsTRANSFER_H
00052 
00053 // __oOo__

Generated on Wed Dec 3 14:52:07 2003 for ATCS API by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001