Process-wide map of shared connections. More...
Public Member Functions | |
| std::shared_ptr< OpcuaConnection > | Acquire (const std::string &endpoint, const std::string &username) |
Static Public Member Functions | |
| static OpcuaConnectionRegistry & | Instance () |
Process-wide map of shared connections.
Keyed by endpoint|username. Holds weak_ptrs so that the connection is released as soon as its last attached Client goes away. Acquire() either bumps the existing shared_ptr or creates a new connection.
|
inline |
|
inlinestatic |