ICP  1
Classes | Macros | Functions | Variables
ISISinstrumentControl.cpp File Reference
#include "stdafx.h"
#include "isiscrpt.h"
#include "ISISinstrumentControl.h"
#include "isisraw.h"
#include "labview_xml.h"
#include "icputils.h"
#include "nexuswriter.h"
#include "../svn-revision.h"
#include "ci_string.h"
#include "muParser.h"
#include "windows.h"
#include "DetectorFile.h"
#include "ICPRequestHandlerFactory.h"

Go to the source code of this file.

Classes

struct  isisraw_async_t
 
struct  vms_journal_line
 
struct  vms_summary_line
 
class  XMLJournalHandler
 

Macros

#define ISISDAE_MAX_DAE2TIMECHAN   65500
 
#define LV_NUM_TIME_REGIMES   6
 number of time regimes settable in labview DAE control Vi More...
 
#define MAX_RC_RETRY   5
 
#define R_OK   4
 

Functions

static void nxErrorFunc (void *arg, char *text)
 
static bool getBeamlogFloat (Poco::XML::Document *pDoc, const std::string &path, float &value)
 
static bool getBeamlogInt (Poco::XML::Document *pDoc, const std::string &path, int &value)
 
static bool getBeamlogInt64 (Poco::XML::Document *pDoc, const std::string &path, int64_t &value)
 
static bool getBeamlogString (Poco::XML::Document *pDoc, const std::string &path, std::string &value)
 
static int getAttrIntegerValue (Poco::XML::NamedNodeMap *attrs, const char *name)
 
static double getAttrFloatValue (Poco::XML::NamedNodeMap *attrs, const char *name)
 
static const char * STR0 (const char *str, const char *value="UNSPECIFIED")
 

Variables

static const char * star_line80 = "********************************************************************************\n"
 
static const char * hash_line80 = "################################################################################\n"
 
static const char * muon_daes [] = { "NDXMUSR", "NDXEMU", "NDXHIFI", "NDXCHRONUS", "NDXARGUS" }
 

Macro Definition Documentation

#define ISISDAE_MAX_DAE2TIMECHAN   65500

Definition at line 16 of file ISISinstrumentControl.cpp.

Referenced by ISISinstrumentControl::setupDAE().

#define LV_NUM_TIME_REGIMES   6

number of time regimes settable in labview DAE control Vi

Definition at line 18 of file ISISinstrumentControl.cpp.

Referenced by ISISinstrumentControl::getTCBXML(), and ISISinstrumentControl::updateTCBXML().

#define MAX_RC_RETRY   5

Definition at line 838 of file ISISinstrumentControl.cpp.

Referenced by ISISinstrumentControl::RCretry().

#define R_OK   4

Function Documentation

static double getAttrFloatValue ( Poco::XML::NamedNodeMap *  attrs,
const char *  name 
)
static

Definition at line 3272 of file ISISinstrumentControl.cpp.

Referenced by ISISinstrumentControl::readDataDaeTable().

static int getAttrIntegerValue ( Poco::XML::NamedNodeMap *  attrs,
const char *  name 
)
static

Definition at line 3260 of file ISISinstrumentControl.cpp.

Referenced by ISISinstrumentControl::readDataDaeTable().

static bool getBeamlogFloat ( Poco::XML::Document *  pDoc,
const std::string &  path,
float &  value 
)
static
static bool getBeamlogInt ( Poco::XML::Document *  pDoc,
const std::string &  path,
int &  value 
)
static
static bool getBeamlogInt64 ( Poco::XML::Document *  pDoc,
const std::string &  path,
int64_t &  value 
)
static
static bool getBeamlogString ( Poco::XML::Document *  pDoc,
const std::string &  path,
std::string &  value 
)
static
static void nxErrorFunc ( void *  arg,
char *  text 
)
static
static const char* STR0 ( const char *  str,
const char *  value = "UNSPECIFIED" 
)
static

Definition at line 6572 of file ISISinstrumentControl.cpp.

Referenced by ISISinstrumentControl::writeJournal().

Variable Documentation

const char* hash_line80 = "################################################################################\n"
static
const char* muon_daes[] = { "NDXMUSR", "NDXEMU", "NDXHIFI", "NDXCHRONUS", "NDXARGUS" }
static
const char* star_line80 = "********************************************************************************\n"
static

Definition at line 20 of file ISISinstrumentControl.cpp.