- Various little fixes to the TAS software

- Added a sync command for synchronizing a simulation server with the
  master server.
This commit is contained in:
cvs
2001-03-16 16:09:33 +00:00
parent 5be8359212
commit bae18e8686
24 changed files with 494 additions and 78 deletions

8
ofac.c
View File

@ -103,6 +103,7 @@
#include "sicscron.h"
#include "lin2ang.h"
#include "tas.h"
#include "synchronize.h"
/*----------------------- Server options creation -------------------------*/
static int IFServerOption(SConnection *pCon, SicsInterp *pSics, void *pData,
int argc, char *argv[])
@ -197,6 +198,7 @@
AddCommand(pInter,"InternEval",InternalFileEval,NULL,NULL);
AddCommand(pInter,"FileWhere",MacroWhere,WhereKill,NULL);
AddCommand(pInter,"ClientPut",ClientPut,NULL,NULL);
AddCommand(pInter,"broadcast",Broadcast,NULL,NULL);
AddCommand(pInter,"transact",TransactAction,NULL,NULL);
AddCommand(pInter,"sicsprompt", SicsPrompt,NULL,NULL);
AddCommand(pInter,"Publish",TclPublish,NULL,NULL);
@ -272,9 +274,12 @@
AddCommand(pInter,"MakeStoreAmor",AmorStoreMake,NULL,NULL);
AddCommand(pInter,"MakeAmorStatus",AmorStatusFactory,NULL,NULL);
AddCommand(pInter,"MakeMaximize",MaximizeFactory,NULL,NULL);
/*
AddCommand(pInter,"MakeDifrac",MakeDifrac,NULL,NULL);
*/
AddCommand(pInter,"MakeLin2Ang",MakeLin2Ang,NULL,NULL);
AddCommand(pInter,"MakeTAS",TASFactory,NULL,NULL);
AddCommand(pInter,"MakeSync",MakeSync,NULL,NULL);
}
/*---------------------------------------------------------------------------*/
static void KillIniCommands(SicsInterp *pSics)
@ -323,9 +328,12 @@
RemoveCommand(pSics,"MakeStoreAmor");
RemoveCommand(pSics,"MakeAmorStatus");
RemoveCommand(pSics,"MakeMaximize");
/*
RemoveCommand(pSics,"MakeDifrac");
*/
RemoveCommand(pSics,"MakeLin2Ang");
RemoveCommand(pSics,"MakeTAS");
RemoveCommand(pSics,"MakeSync");
}