|
open62541 1.4.15
Open source implementation of OPC UA
|
#include "history_data_backend.h"Go to the source code of this file.
Macros | |
| #define | INITIAL_MEMORY_STORE_SIZE 1000 |
Functions | |
| UA_HistoryDataBackend | UA_HistoryDataBackend_Memory (size_t initialNodeIdStoreSize, size_t initialDataStoreSize) |
| UA_HistoryDataBackend | UA_HistoryDataBackend_Memory_Circular (size_t initialNodeIdStoreSize, size_t initialDataStoreSize) |
| void | UA_HistoryDataBackend_Memory_clear (UA_HistoryDataBackend *backend) |
| #define INITIAL_MEMORY_STORE_SIZE 1000 |
This Source Code Form is subject to the terms of the Mozilla Public License, v.
2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright 2018 (c) basysKom GmbH opens.nosp@m.ourc.nosp@m.e@bas.nosp@m.ysko.nosp@m.m.com (Author: Peter Rustler) Copyright 2021 (c) luibass92 luiba.nosp@m.ss92.nosp@m.@live.nosp@m..it (Author: Luigi Bassetta)
Definition at line 16 of file history_data_backend_memory.h.
| UA_HistoryDataBackend UA_HistoryDataBackend_Memory | ( | size_t | initialNodeIdStoreSize, |
| size_t | initialDataStoreSize | ||
| ) |
| UA_HistoryDataBackend UA_HistoryDataBackend_Memory_Circular | ( | size_t | initialNodeIdStoreSize, |
| size_t | initialDataStoreSize | ||
| ) |
This function construct a UA_HistoryDataBackend which implements a circular buffer in memory.
initialNodeIdStoreSize is the maximum number of NodeIds that will be historized. This number cannot be overcomed. initialDataStoreSize is the maximum number of UA_DataValueMemoryStoreItem that will be saved in the circular buffer for a particular NodeId. Subsequent UA_DataValueMemoryStoreItem will be saved replacing the oldest ones following the logic of circular buffers.
| void UA_HistoryDataBackend_Memory_clear | ( | UA_HistoryDataBackend * | backend | ) |