UniSet 2.32.1
Классы | Открытые типы | Открытые члены | Открытые статические члены | Защищенные данные | Полный список членов класса
Класс uniset::OPCUAClient

#include <OPCUAClient.h>

Классы

struct  ResultVar
 

Открытые типы

enum class  VarType : int { Int32 = 0 , Float = 1 }
 
using ErrorCode = int
 

Открытые члены

bool connect (const std::string &addr)
 
bool connect (const std::string &addr, const std::string &user, const std::string &pass)
 
ErrorCode read (std::vector< UA_ReadValueId > &attrs, std::vector< ResultVar > &result)
 
ErrorCode write32 (std::vector< UA_WriteValue > &values)
 
ErrorCode write32 (const std::string &attr, int32_t value)
 
ErrorCode set (const std::string &attr, bool set)
 
ErrorCode write (const UA_WriteValue &val)
 

Открытые статические члены

static VarType str2vtype (std::string_view s)
 
static UA_WriteValue makeWriteValue32 (const std::string &name, int32_t val)
 
static UA_ReadValueId makeReadValue32 (const std::string &name)
 

Защищенные данные

UA_Client * client = { nullptr }
 
UA_Variant * val = { nullptr }
 
UA_SessionState ss
 

Подробное описание

Интерфейс для работы с OPC UA