Callbacks associated with DynamicProvider.
More...
#include <server/pva/server.h>
|
|
virtual void | hasChannels (search_type &name)=0 |
| | Called with name(s) which some client is searching for.
|
| virtual void | listChannels (names_type &names, bool &dynamic) |
| | Called when a client is requesting a list of channel names we provide. Callee should set dynamic=false if this list is exhaustive.
|
|
virtual std::tr1::shared_ptr< epics::pvAccess::Channel > | createChannel (const std::tr1::shared_ptr< epics::pvAccess::ChannelProvider > &provider, const std::string &name, const std::tr1::shared_ptr< epics::pvAccess::ChannelRequester > &requester)=0 |
| | Called when a client is attempting to open a new channel to this SharedPV.
|
| virtual void | destroy () |
| | Called when the last reference to a DynamicProvider is released. Should close any channels.
|
Callbacks associated with DynamicProvider.
For the purposes of locking, this class is a Requester (see provider_roles_requester_locking). It's methods will not be called with locks held. It may call methods which lock.
Definition at line 199 of file server.h.
◆ const_shared_pointer
| typedef std::tr1::shared_ptr<const Handler> pvas::DynamicProvider::Handler::const_shared_pointer |
◆ const_weak_pointer
| typedef std::tr1::weak_ptr<const Handler> pvas::DynamicProvider::Handler::const_weak_pointer |
◆ names_type
◆ shared_pointer
| typedef std::tr1::shared_ptr<Handler> pvas::DynamicProvider::Handler::shared_pointer |
◆ weak_pointer
| typedef std::tr1::weak_ptr<Handler> pvas::DynamicProvider::Handler::weak_pointer |
◆ ~Handler()
| virtual pvas::DynamicProvider::Handler::~Handler |
( |
| ) |
|
|
inlinevirtual |
◆ destroy()
| virtual void pvas::DynamicProvider::Handler::destroy |
( |
| ) |
|
|
inlinevirtual |
Called when the last reference to a DynamicProvider is released. Should close any channels.
Definition at line 212 of file server.h.
◆ listChannels()
| virtual void pvas::DynamicProvider::Handler::listChannels |
( |
names_type & | names, |
|
|
bool & | dynamic ) |
|
inlinevirtual |
Called when a client is requesting a list of channel names we provide. Callee should set dynamic=false if this list is exhaustive.
Definition at line 206 of file server.h.
The documentation for this struct was generated from the following file: