pvAccessCPP 7.1.8
Loading...
Searching...
No Matches
pvas::DynamicProvider Class Reference

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

#include <server/pva/server.h>

Classes

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::tr1::shared_ptr< DynamicProvidershared_pointer
 
typedef std::tr1::shared_ptr< const DynamicProviderconst_shared_pointer
 
typedef std::tr1::weak_ptr< DynamicProviderweak_pointer
 
typedef std::tr1::weak_ptr< const DynamicProviderconst_weak_pointer
 
typedef std::vector< Searchsearch_type
 

Public Member Functions

 DynamicProvider (const std::string &name, const std::tr1::shared_ptr< Handler > &handler)
 Build a new provider.
 
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.

Member Typedef Documentation

◆ const_shared_pointer

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

Definition at line 165 of file server.h.

◆ const_weak_pointer

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

Definition at line 165 of file server.h.

◆ search_type

◆ shared_pointer

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

Definition at line 165 of file server.h.

◆ weak_pointer

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

Definition at line 165 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.

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