pvAccessCPP  7.1.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
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>

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
< DynamicProvider
shared_pointer
 
typedef std::tr1::shared_ptr
< const DynamicProvider
const_shared_pointer
 
typedef std::tr1::weak_ptr
< DynamicProvider
weak_pointer
 
typedef std::tr1::weak_ptr
< const DynamicProvider
const_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. More...
 
Handler::shared_pointer getHandler () const
 
std::tr1::shared_ptr
< epics::pvAccess::ChannelProvider
provider () 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

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: