This is Unofficial EPICS BASE Doxygen Site
pvas::DynamicProvider::Handler Struct Referenceabstract

#include "server.h"

Public Types

typedef epics::pvData::shared_vector< std::string > names_type
 

Public Member Functions

 POINTER_DEFINITIONS (Handler)
 
virtual ~Handler ()
 
virtual void hasChannels (search_type &name)=0
 Called with name(s) which some client is searching for. More...
 
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. More...
 
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. More...
 
virtual void destroy ()
 Called when the last reference to a DynamicProvider is released. Should close any channels. More...
 

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

Definition at line 201 of file server.h.

Constructor & Destructor Documentation

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

Definition at line 202 of file server.h.

202 {}

Member Function Documentation

virtual std::tr1::shared_ptr<epics::pvAccess::Channel> pvas::DynamicProvider::Handler::createChannel ( const std::tr1::shared_ptr< epics::pvAccess::ChannelProvider > &  provider,
const std::string &  name,
const std::tr1::shared_ptr< epics::pvAccess::ChannelRequester > &  requester 
)
pure virtual

Called when a client is attempting to open a new channel to this SharedPV.

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.

212 {}
virtual void pvas::DynamicProvider::Handler::hasChannels ( search_type name)
pure virtual

Called with name(s) which some client is searching for.

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.

206 {}
pvas::DynamicProvider::Handler::POINTER_DEFINITIONS ( Handler  )

The documentation for this struct was generated from the following file: