#include <OPCUATestServer.h>
|
|
| OPCUATestServer (const std::string &addr, uint16_t port=4840) |
| |
|
void | setVerbose (bool state) |
| |
|
void | start () |
| |
|
void | stop () |
| |
|
bool | isRunning () |
| |
|
void | setI32 (const std::string &varname, int32_t val) |
| |
|
void | setBool (const std::string &varname, bool set) |
| |
|
void | setI32 (int num, int32_t val) |
| |
|
void | setF32 (const std::string &varname, float val) |
| |
|
void | setX (int num, int32_t val, opcua::Type type) |
| |
|
int32_t | getX (int num, opcua::Type type) |
| |
|
int32_t | getI32 (int num) |
| |
|
int32_t | getI32 (const std::string &name) |
| |
|
float | getF32 (const std::string &name) |
| |
|
bool | getBool (const std::string &name) |
| |
|
|
std::unique_ptr< opcua::Server > | server |
| |
|
std::unique_ptr< IONode > | ioNode |
| |
|
std::string | addr |
| |
|
bool | verbose |
| |
|
std::unordered_map< int, std::unique_ptr< IONode > > | imap |
| |
|
std::unordered_map< std::string, std::unique_ptr< IONode > > | smap |
| |
|
std::shared_ptr< uniset::ThreadCreator< OPCUATestServer > > | serverThread |
| |
Реализация OPCUATestServer для тестирования