pvAccessCPP 7.1.8
Loading...
Searching...
No Matches
pvas::DynamicProvider::Handler Struct Referenceabstract

Callbacks associated with DynamicProvider. More...

#include <server/pva/server.h>

Public Types

typedef std::tr1::shared_ptr< Handlershared_pointer
 
typedef std::tr1::shared_ptr< const Handlerconst_shared_pointer
 
typedef std::tr1::weak_ptr< Handlerweak_pointer
 
typedef std::tr1::weak_ptr< const Handlerconst_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::ChannelcreateChannel (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.
 

Detailed Description

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.

Member Typedef Documentation

◆ const_shared_pointer

std::tr1::shared_ptr<const Handler> pvas::DynamicProvider::Handler::const_shared_pointer

Definition at line 200 of file server.h.

◆ const_weak_pointer

std::tr1::weak_ptr<const Handler> pvas::DynamicProvider::Handler::const_weak_pointer

Definition at line 200 of file server.h.

◆ names_type

◆ shared_pointer

std::tr1::shared_ptr<Handler> pvas::DynamicProvider::Handler::shared_pointer

Definition at line 200 of file server.h.

◆ weak_pointer

std::tr1::weak_ptr<Handler> pvas::DynamicProvider::Handler::weak_pointer

Definition at line 200 of file server.h.

Constructor & Destructor Documentation

◆ ~Handler()

virtual pvas::DynamicProvider::Handler::~Handler ( )
inlinevirtual

Definition at line 202 of file server.h.

Member Function Documentation

◆ 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: