High Performance OPC UA Server SDK  1.7.1.383
ua_file_context Struct Reference

Stores the information about a file. More...

#include <filecontext.h>

Data Fields

unsigned int open_count
 number of open file handles refering to this file
 
bool exclusive
 true if opened exclusive (for writing)
 
ua_node_t node
 reference to addresspace node which uses this context
 
ua_node_t read
 reference to according read method, required for fast permission checks
 
ua_node_t write
 reference to according write method, required for fast permission checks
 
ua_node_t open
 reference to according open method, required for fast permission checks
 
ua_node_t close
 reference to according close method, required for fast permission checks
 
ua_node_t getposition
 reference to according getposition method, required for fast permission checks
 
ua_node_t setposition
 reference to according setposition method, required for fast permission checks
 
char * mimetype
 optional mime type
 
void * userdata
 optional user data that can be stored with each file instance
 
struct ua_filetype_callbacks callbacks
 file user callback table
 
struct ua_filetype_interfaceftif
 file implementation calltable
 
void * pimpl
 file implementation specific data
 

Detailed Description

Stores the information about a file.

This is an abstract type that works for all file implementations. The private implementation details are referenced by the pimpl pointer. Note that the exclusive opened status is only OPC UA internal. It has nothing to do with other processes accessing this file.


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