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

tacServer.h

Go to the documentation of this file.
00001 /*******************************************************************************
00002 * E.S.O. - VLT project
00003 *
00004 * "@(#) $Id: tacServer.h,v 1.38 2003/11/27 21:36:51 vltsccm Exp $"
00005 *
00006 * who       when     what
00007 * --------  -------  ----------------------------------------------
00008 * bbauvir  13/06/02  Add SIMULAT/STOPSIM support
00009 * pduhoux  04/05/00  created
00010 */
00011 
00012 #ifndef TAC_SERVER_H
00013 #define TAC_SERVER_H
00014 
00015 /* 
00016  * System Headers
00017  */
00018 
00019 /* 
00020  * Local Headers
00021  */
00022 
00023 #include "ccs.h"
00024 #include "tacTypes.h"
00025 
00026 /*
00027  * Constants
00028  */
00029 
00030 typedef enum {
00031   tacDATA_MONITOR_CALLBACK = 0,
00032   tacDATA_PROBE_CALLBACK,
00033 }tacDATA_CALLBACK_TYPE;
00034 
00035 /* 
00036  * Types
00037  */
00038 
00039 /*
00040  * Global variables
00041  */
00042 
00043 /*
00044  * Functions
00045  */
00046 
00047 ccsCOMPL_STAT tacServerConfigRTC(ccsERROR *error);
00048 ccsCOMPL_STAT tacServerConfig(char *fileName, ccsERROR *error);
00049 ccsCOMPL_STAT tacServerReport(char *fileName, ccsERROR *error);
00050 ccsCOMPL_STAT tacServerResetAlgorithm(ccsERROR *error);
00051 ccsCOMPL_STAT tacServerStopAlgorithm(ccsERROR *error);
00052 ccsCOMPL_STAT tacServerRecord(char *fileName, char *blockName, vltUINT32 sample, ccsERROR *error);
00053 ccsCOMPL_STAT tacServerStopRecord(ccsERROR *error);
00054 ccsCOMPL_STAT tacServerAddBlock(char *type, char *name, tacPARAM *parameter, ccsERROR *error);
00055 ccsCOMPL_STAT tacServerDeleteBlock(char *name, ccsERROR *error);
00056 
00057 #if 0
00058 ccsCOMPL_STAT tacServerModifyBlock(char *name, tacPARAM *parameter, ccsERROR *error);
00059 #else
00060 ccsCOMPL_STAT tacServerModifyBlock(char *name, tacPARAM *parameter, vltINT32 reply, ccsERROR *error);
00061 #endif
00062 
00063 ccsCOMPL_STAT tacServerAddLink(char *name, 
00064                                char *srcName, vltUINT32 srcPort, 
00065                                char *dstName, vltUINT32 dstPort, 
00066              ccsERROR *error);
00067 ccsCOMPL_STAT tacServerDeleteLink(char *name, ccsERROR *error);
00068 ccsCOMPL_STAT tacServerClearAlgorithm(ccsERROR *error);
00069 
00070 ccsCOMPL_STAT tacServerGetCurrentTime(ccsTIMEVAL *time, ccsERROR *error);
00071 ccsCOMPL_STAT tacServerReadMonitorValue(char* name, vltDOUBLE* data, vltINT32 dataId, ccsERROR* error);
00072 vltINT32 tacServerGetSubState(void);
00073 
00074 ccsCOMPL_STAT tacServerInstallDataCallback(vltUINT32 callbackType, 
00075              char* name,
00076                                            void (* theCallback)(), 
00077              void* usrParam,
00078                                            ccsERROR *error);
00079 ccsCOMPL_STAT tacServerRemoveDataCallback(vltUINT32 callbackType, char* name, ccsERROR *error);
00080 
00081 ccsCOMPL_STAT tacServerSimulate(ccsERROR *error);
00082 ccsCOMPL_STAT tacServerStopSim(ccsERROR *error);
00083 #endif 

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