lvDCOM
An EPICS support module to export LabVIEW values as process variables
Classes | 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 <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>

Go to the source code of this file.

Classes

class  StringItem
 
class  BoolItem
 

Macros

#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS
 
#define MAX_PATH_LEN   256
 

Functions

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 53 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 86 of file lvDCOMInterface.cpp.

Referenced by initCOM().

Variable Documentation

epicsThreadOnceId onceId = EPICS_THREAD_ONCE_INIT
static