f9c40e96cf672ed41a5d20c2f9b72bbe5bfa039e
Each instance of the caContext class represents a separate CA context, so each CAChannelProvider creates one and keeps a shared_ptr to it, making that available to its channels and channel operations. These also take their own shared_ptr to it as well so the context cannot be destroyed while it might be needed. A related caContext Attach object is intended to be short-lived, and to be allocated on the stack. When created it saves the current CA context for the thread, replacing it from the caContext given to its constructor. CA operations will now use the attached context. When the Attach destructor runs it detaches the thread from the current context (checking still has the expected value) and re-attaches the thread to any context that was saved by the constructor.
pvAccessCPP
pvAccess is a network communications protocol designed for distributed control systems. It is designed to transport serialized data formatted as pvData data structures.
The pvAccessCPP module is a part of the EPICS software toolkit that contains the C++ implementation of pvAccess.
Links
- General information about EPICS can be found at the EPICS Controls website.
- API documentation for this module can be found on its Github Pages website
Building
This module is included as a submodule of a full EPICS 7 release and will be compiled during builds of that software.
Description
Languages
C++
63.4%
C
35.2%
Python
0.9%
Makefile
0.5%