NetShrVar
An EPICS support module to export National Instruments Network Shared Variables as process variables
|
Header file for network shared variable to EPICS type 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 > |
struct | MakeSignedImpl< T, is_unsigned > |
default case handles already signed types i.e. <T,false> More... | |
struct | MakeSignedImpl< T, true > |
specialisation of MakeSignedImpl for unsigned types i.e. <T,true> More... | |
struct | MakeSigned< T > |
like std::make_signed but also handles bool,float etc. types by passing them through rather than producing an error More... | |
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) |
Types that differ only in sign are considered castable as epics asyn doesn't have unsigned data types for arrays. More... | |
Header file for network shared variable to EPICS type convertion routines.
Definition in file cnvconvert.h.
|
static |
Definition at line 255 of file cnvconvert.h.
|
static |
Types that differ only in sign are considered castable as epics asyn doesn't have unsigned data types for arrays.
Definition at line 284 of file cnvconvert.h.
|
static |
convert one type to another
Definition at line 242 of file cnvconvert.h.
|
static |
Definition at line 248 of file cnvconvert.h.