ISIS Logo
NINetVar
An EPICS support module to export National Instruments Network Shared Variables as process variables
Classes | Functions
cnvconvert.h File Reference

Header file for network shared variable convertion routines. More...

#include <type_traits>

Go to the source code of this file.

Classes

struct  CNV2C< type >
 Provide the underlying C data type ctype for a given network shared variable type. More...
 
struct  CNV2C< CNVBool >
 
struct  CNV2C< CNVString >
 
struct  CNV2C< CNVSingle >
 
struct  CNV2C< CNVDouble >
 
struct  CNV2C< CNVInt8 >
 
struct  CNV2C< CNVUInt8 >
 
struct  CNV2C< CNVInt16 >
 
struct  CNV2C< CNVUInt16 >
 
struct  CNV2C< CNVInt32 >
 
struct  CNV2C< CNVUInt32 >
 
struct  CNV2C< CNVInt64 >
 
struct  CNV2C< CNVUInt64 >
 
struct  C2CNV< T >
 For a given C data type, provide the appropriate network shared variable type. More...
 
struct  C2CNV< bool >
 
struct  C2CNV< char * >
 
struct  C2CNV< float >
 
struct  C2CNV< double >
 
struct  C2CNV< char >
 
struct  C2CNV< unsigned char >
 
struct  C2CNV< short >
 
struct  C2CNV< unsigned short >
 
struct  C2CNV< int >
 
struct  C2CNV< unsigned int >
 
struct  C2CNV< __int64 >
 
struct  C2CNV< unsigned __int64 >
 

Functions

template<typename T , typename U >
static T convertToScalar (U val)
 convert one type to another More...
 
template<typename T , typename U >
static T convertToScalar (U *val)
 
template<typename T , typename U >
static T * convertToPtr (U val)
 
template<typename T , typename U >
static T * convertToPtr (U *val)
 

Detailed Description

Header file for network shared variable convertion routines.

Author
Freddie Akeroyd, STFC ISIS Facility, GB

Definition in file cnvconvert.h.

Function Documentation

template<typename T , typename U >
static T* convertToPtr ( val)
static

Definition at line 255 of file cnvconvert.h.

template<typename T , typename U >
static T* convertToPtr ( U *  val)
static

Definition at line 263 of file cnvconvert.h.

template<typename T , typename U >
static T convertToScalar ( val)
static

convert one type to another

Definition at line 242 of file cnvconvert.h.

template<typename T , typename U >
static T convertToScalar ( U *  val)
static

Definition at line 248 of file cnvconvert.h.

Copyright © 2013 Science and Technology Facilities Council | Generated by   doxygen 1.8.8