ISIS Logo
lvDCOM
An EPICS support module to export LabVIEW values as process variables
Classes | Namespaces | Macros | Functions | Variables
lvDCOMInterface.cpp File Reference

Implementation of lvDCOMInterface class. More...

#include <stdio.h>
#include <windows.h>
#include <atlbase.h>
#include <atlstr.h>
#include <atlcom.h>
#include <atlwin.h>
#include <atltypes.h>
#include <atlctl.h>
#include <atlhost.h>
#include <atlconv.h>
#include <atlsafe.h>
#include <comdef.h>
#include <tlhelp32.h>
#include <string>
#include <vector>
#include <map>
#include <list>
#include <stdexcept>
#include <sstream>
#include <fstream>
#include <iostream>
#include <algorithm>
#include "lvDCOMInterface.h"
#include "variant_utils.h"
#include <macLib.h>
#include <epicsGuard.h>
#include <cantProceed.h>
#include <errlog.h>

Go to the source code of this file.

Classes

struct  pcrecpp::RE
 
class  StringItem
 
class  BoolItem
 

Namespaces

 pcrecpp
 dummy pcre implementation
 

Macros

#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS
 
#define MAX_PATH_LEN   256
 

Functions

static std::string replaceWithEntities (const std::string &str)
 
static void __stdcall my_com_raise_error (HRESULT hr, IErrorInfo *perrinfo)
 The Microsoft ATL _com_error is not derived from std::exception hence this bit of code to throw our own COMexception() instead. More...
 
static void initCOM (void *)
 

Variables

static epicsThreadOnceId onceId = EPICS_THREAD_ONCE_INIT
 

Detailed Description

Implementation of lvDCOMInterface class.

Author
Freddie Akeroyd, STFC ISIS Facility, GB

Definition in file lvDCOMInterface.cpp.

Macro Definition Documentation

#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS

Definition at line 65 of file lvDCOMInterface.cpp.

#define MAX_PATH_LEN   256

Function Documentation

static void initCOM ( void *  )
static
static void __stdcall my_com_raise_error ( HRESULT  hr,
IErrorInfo *  perrinfo 
)
static

The Microsoft ATL _com_error is not derived from std::exception hence this bit of code to throw our own COMexception() instead.

Definition at line 128 of file lvDCOMInterface.cpp.

Referenced by initCOM().

static std::string replaceWithEntities ( const std::string &  str)
static

Definition at line 112 of file lvDCOMInterface.cpp.

References pcrecpp::RE::GlobalReplace().

Referenced by lvDCOMInterface::generateFilesFromSECI().

Variable Documentation

epicsThreadOnceId onceId = EPICS_THREAD_ONCE_INIT
static
Copyright © 2013 Science and Technology Facilities Council | Generated by   doxygen 1.8.5