NetShrVar
An EPICS support module to export National Instruments Network Shared Variables as process variables
|
details about a network shared variable we have connected to an asyn parameter More...
Public Types | |
enum | { Read =0x1, Write =0x2, BufferedRead =0x4, BufferedWrite =0x8 } |
Public Member Functions | |
NvItem (const char *nv_name_, const char *type_, unsigned access_, int field_) | |
void | report (const std::string &name, FILE *fp) |
helper for asyn driver report function More... | |
void | report (FILE *fp, const char *conn_type, void *handle, bool buffered) |
Public Attributes | |
enum NvItem:: { ... } | NvAccessMode |
possible access modes to network shared variable More... | |
std::string | nv_name |
full path to network shared variable More... | |
std::string | type |
type as specified in the XML file e.g. float64array More... | |
unsigned | access |
combination of NvAccessMode More... | |
int | field |
if we refer to a struct, this is the index of the field (starting at 0), otherwise it is -1 More... | |
int | id |
asyn parameter id, -1 if not assigned More... | |
std::vector< char > | array_data |
only used for array parameters, contains cached copy of data as this is not stored in usual asyn parameter map More... | |
CNVSubscriber | subscriber |
CNVBufferedSubscriber | b_subscriber |
CNVWriter | writer |
CNVBufferedWriter | b_writer |
details about a network shared variable we have connected to an asyn parameter
Definition at line 117 of file NetShrVarInterface.cpp.
anonymous enum |
Enumerator | |
---|---|
Read | |
Write | |
BufferedRead | |
BufferedWrite |
Definition at line 119 of file NetShrVarInterface.cpp.
|
inline |
Definition at line 130 of file NetShrVarInterface.cpp.
References nv_name.
|
inline |
helper for asyn driver report function
Definition at line 136 of file NetShrVarInterface.cpp.
References array_data, b_subscriber, b_writer, field, nv_name, subscriber, type, and writer.
Referenced by NetShrVarInterface::report().
|
inline |
Definition at line 152 of file NetShrVarInterface.cpp.
References connectionStatus(), and ERROR_CHECK.
unsigned NvItem::access |
combination of NvAccessMode
Definition at line 122 of file NetShrVarInterface.cpp.
Referenced by NetShrVarInterface::connectVars(), NetShrVarInterface::setValueCNV(), and NetShrVarInterface::updateValues().
std::vector<char> NvItem::array_data |
only used for array parameters, contains cached copy of data as this is not stored in usual asyn parameter map
Definition at line 125 of file NetShrVarInterface.cpp.
Referenced by report().
CNVBufferedSubscriber NvItem::b_subscriber |
Definition at line 127 of file NetShrVarInterface.cpp.
Referenced by NetShrVarInterface::connectVars(), report(), and NetShrVarInterface::updateValues().
CNVBufferedWriter NvItem::b_writer |
Definition at line 129 of file NetShrVarInterface.cpp.
Referenced by NetShrVarInterface::connectVars(), report(), and NetShrVarInterface::setValueCNV().
int NvItem::field |
if we refer to a struct, this is the index of the field (starting at 0), otherwise it is -1
Definition at line 123 of file NetShrVarInterface.cpp.
Referenced by report(), and NetShrVarInterface::setValueCNV().
int NvItem::id |
asyn parameter id, -1 if not assigned
Definition at line 124 of file NetShrVarInterface.cpp.
Referenced by NetShrVarInterface::connectVars(), NetShrVarInterface::createParams(), and NetShrVarInterface::updateValues().
std::string NvItem::nv_name |
full path to network shared variable
Definition at line 120 of file NetShrVarInterface.cpp.
Referenced by NetShrVarInterface::connectVars(), NvItem(), report(), NetShrVarInterface::setValueCNV(), and NetShrVarInterface::updateValues().
enum { ... } NvItem::NvAccessMode |
possible access modes to network shared variable
CNVSubscriber NvItem::subscriber |
Definition at line 126 of file NetShrVarInterface.cpp.
Referenced by NetShrVarInterface::connectVars(), and report().
std::string NvItem::type |
type as specified in the XML file e.g. float64array
Definition at line 121 of file NetShrVarInterface.cpp.
Referenced by NetShrVarInterface::createParams(), and report().
CNVWriter NvItem::writer |
Definition at line 128 of file NetShrVarInterface.cpp.
Referenced by NetShrVarInterface::connectVars(), report(), and NetShrVarInterface::setValueCNV().