|
pvAccessCPP
7.1.7
|
Registry(s) for plugins. More...
#include <remote/pv/security.h>
Public Types | |
|
typedef std::tr1::shared_ptr < AuthenticationRegistry > | shared_pointer |
|
typedef std::tr1::shared_ptr < const AuthenticationRegistry > | const_shared_pointer |
|
typedef std::tr1::weak_ptr < AuthenticationRegistry > | weak_pointer |
|
typedef std::tr1::weak_ptr < const AuthenticationRegistry > | const_weak_pointer |
|
typedef std::vector < map_t::mapped_type > | list_t |
Public Member Functions | |
| void | snapshot (list_t &plugmap) const |
| Save a copy of the current registry in order of increasing priority. | |
| void | add (int prio, const std::string &name, const AuthenticationPlugin::shared_pointer &plugin) |
| Add a new plugin to this registry. More... | |
| bool | remove (const AuthenticationPlugin::shared_pointer &plugin) |
| Remove an existing entry. Remove true if the entry was actually removed. | |
| AuthenticationPlugin::shared_pointer | lookup (const std::string &name) const |
| Fetch a single plugin explicitly by name. More... | |
Static Public Member Functions | |
| static AuthenticationRegistry & | clients () |
| The client side of the conversation. | |
| static AuthenticationRegistry & | servers () |
| The server side of the conversation. | |
Registry(s) for plugins.
Definition at line 228 of file security.h.
| void epics::pvAccess::AuthenticationRegistry::add | ( | int | prio, |
| const std::string & | name, | ||
| const AuthenticationPlugin::shared_pointer & | plugin | ||
| ) |
Add a new plugin to this registry.
| prio | Order in which plugins are considered. highest is preferred. |
| name | Name under which this plugin will be known |
| plugin | Plugin instance |
| AuthenticationPlugin::shared_pointer epics::pvAccess::AuthenticationRegistry::lookup | ( | const std::string & | name | ) | const |
Fetch a single plugin explicitly by name.
1.8.5