pvAccessCPP  7.1.5
Public Member Functions | List of all members
epics::pvAccess::SingletonChannelProviderFactory< Provider > Struct Template Reference

Helper for ChannelProviders which access a singleton resource (eg. More...

#include <client/pv/pvAccess.h>

Inheritance diagram for epics::pvAccess::SingletonChannelProviderFactory< Provider >:
Inheritance graph
[legend]
Collaboration diagram for epics::pvAccess::SingletonChannelProviderFactory< Provider >:
Collaboration graph
[legend]

Public Member Functions

 SingletonChannelProviderFactory (const std::string &name, const std::tr1::shared_ptr< const Configuration > &conf=std::tr1::shared_ptr< const Configuration >())
 
virtual std::string getFactoryName ()
 Get factory name (i.e. More...
 
virtual ChannelProvider::shared_pointer sharedInstance ()
 Get a shared instance using the default Configuration. More...
 
virtual ChannelProvider::shared_pointer newInstance (const std::tr1::shared_ptr< Configuration > &conf)
 Create a new instance using a specific Configuration. More...
 

Detailed Description

template<class Provider>
struct epics::pvAccess::SingletonChannelProviderFactory< Provider >

Helper for ChannelProviders which access a singleton resource (eg.

process database). Only one concurrent instance will be created. Requires the existance of a ctor Provider(const std::tr1::shared_ptr<const Configuration>& conf)

Definition at line 1397 of file pvAccess.h.

Member Function Documentation

◆ getFactoryName()

template<class Provider >
virtual std::string epics::pvAccess::SingletonChannelProviderFactory< Provider >::getFactoryName ( )
inlinevirtual

Get factory name (i.e.

name of the provider).

Returns
the factory name.

Implements epics::pvAccess::ChannelProviderFactory.

Definition at line 1405 of file pvAccess.h.

◆ newInstance()

template<class Provider >
virtual ChannelProvider::shared_pointer epics::pvAccess::SingletonChannelProviderFactory< Provider >::newInstance ( const std::tr1::shared_ptr< Configuration > &  )
inlinevirtual

Create a new instance using a specific Configuration.

Returns
a new instance.

Reimplemented from epics::pvAccess::ChannelProviderFactory.

Definition at line 1418 of file pvAccess.h.

◆ sharedInstance()

template<class Provider >
virtual ChannelProvider::shared_pointer epics::pvAccess::SingletonChannelProviderFactory< Provider >::sharedInstance ( )
inlinevirtual

Get a shared instance using the default Configuration.

Returns
a shared instance.

Implements epics::pvAccess::ChannelProviderFactory.

Definition at line 1407 of file pvAccess.h.


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