TwiceAsNice  2019-02-18
Macros
LtcsIifServiceWorkerWvalid.cc File Reference
#include <unistd.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <cmath>
#include <cstdlib>
#include <cstdio>
#include <xercesc/util/PlatformUtils.hpp>
#include <xercesc/dom/DOM.hpp>
#include <xercesc/framework/StdOutFormatTarget.hpp>
#include <xercesc/framework/LocalFileFormatTarget.hpp>
#include <xercesc/parsers/AbstractDOMParser.hpp>
#include <xercesc/validators/DTD/DTDGrammar.hpp>
#include <xercesc/sax/HandlerBase.hpp>
#include <xercesc/sax/ErrorHandler.hpp>
#include <Nice/Application.h>
#include <Nice/Log.h>
#include <Basda/Basdard.h>
#include <Basda/ServiceState.h>
#include <Ltcs/Iif/Iif2fitsKw.h>
#include <Ltcs/Iif/IifStar.h>
#include <Ltcs/Iif/IifSide.h>
#include <Ltcs/Iif/IifStation.h>
#include <LtcsIifServiceWorker.h>
#include <Ltcs/Iif/PropertyName.h>
#include <Ltcs/Iif/ServiceWorkerInternalData.h>
#include <Ltcs/Iif/ServiceWorkerException.h>
#include <LbtoIIFInterface.h>
#include <LbtoIIFInterfaceResult.h>
#include <LtcsXmlErrHandl.h>
Include dependency graph for LtcsIifServiceWorkerWvalid.cc:

Macros

#define LOG_NAME   m_service->name()
 
#define DR2D   57.2957795130823208767981548141
 conversion radians to degrees. More...
 
#define LOG_NAME   name()
 
#define IIF_GETPARM_CHUNK   20
 Split the total set of keywords with a single GetParam() into chunks of that size. More...
 

Detailed Description

Since
2011-08-30
Author
kittmann

Macro Definition Documentation

◆ DR2D

#define DR2D   57.2957795130823208767981548141

conversion radians to degrees.

Same as in sofam.h.

◆ IIF_GETPARM_CHUNK

#define IIF_GETPARM_CHUNK   20

Split the total set of keywords with a single GetParam() into chunks of that size.

Could be set to a larger number like 200 such that all parameter in the XML file are in a single query. But as the TCS stops filling the keywords with DD entries as soon as it gets the first entry it does not know, it is safer to use a smaller number, such that at most a single chunk of the data is lost if the user had an error in the XML file or an entry in the XML file that does not exist in the TCS DD.

◆ LOG_NAME [1/2]

#define LOG_NAME   m_service->name()

◆ LOG_NAME [2/2]

#define LOG_NAME   name()