pvAccessCPP
7.1.7
|
Callbacks associated with DynamicProvider. More...
#include <server/pva/server.h>
Public Types | |
typedef std::tr1::shared_ptr < Handler > | shared_pointer |
typedef std::tr1::shared_ptr < const Handler > | const_shared_pointer |
typedef std::tr1::weak_ptr < Handler > | weak_pointer |
typedef std::tr1::weak_ptr < const Handler > | const_weak_pointer |
typedef epics::pvData::shared_vector < std::string > | names_type |
Public Member Functions | |
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.