High Performance OPC UA Server SDK  1.2.0.193
memory_pool_config Struct Reference

Configures the size of one memory pool. More...

#include <memory_layout.h>

Data Fields

size_t count
 number of elements. More...
 
size_t size
 size of one element in bytes
 
int id
 unique pool id
 
bool shared
 true=shared memory (for IPC), false=always private
 
const char * name
 

Detailed Description

Configures the size of one memory pool.

For the heap-pool (dynamic size) size = 1. All other pools as object pools which manages a number of fixed sized objects, here size = sizeof(object_type).

Field Documentation

size_t count

number of elements.

set to zero to disable this pool


The documentation for this struct was generated from the following file: