pvAccessCPP  7.1.5
Classes | Public Types | Public Member Functions | List of all members
pvas::DynamicProvider Class Reference

A Provider which has no pre-configured list of names. More...

#include <server/pva/server.h>


struct  Handler
 Callbacks associated with DynamicProvider. More...
class  Search
 A single client serach request. May be associated with more than one name. More...

Public Types

typedef std::vector< Searchsearch_type

Public Member Functions

 DynamicProvider (const std::string &name, const std::tr1::shared_ptr< Handler > &handler)
 Build a new provider. More...
Handler::shared_pointer getHandler () const
std::tr1::shared_ptr< epics::pvAccess::ChannelProviderprovider () const
 Fetch the underlying ChannelProvider. Usually to build a ServerContext around.

Detailed Description

A Provider which has no pre-configured list of names.

Through an associated Handler, this provider sees all searchs, and may claim them.

See also
Server API shared_ptr Ownership

Definition at line 163 of file server.h.

Constructor & Destructor Documentation

◆ DynamicProvider()

pvas::DynamicProvider::DynamicProvider ( const std::string &  name,
const std::tr1::shared_ptr< Handler > &  handler 

Build a new provider.

nameProvider Name. Only relevant if registerAsServer() is called, then must be unique in this process.
handlerOur callbacks. Internally stored a shared_ptr (strong reference).

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