pvAccessCPP 7.1.8
Loading...
Searching...
No Matches
epics::pvAccess::SimpleChannelProviderFactory< Provider > Struct Template Reference

Simple ChannelProviderFactory which requires the existance of a ctor Provider(const std::tr1::shared_ptr<Configuration>& conf) which is called with a Configuration instance or NULL (use some defaults) More...

#include <client/pv/pvAccess.h>

Inheritance diagram for epics::pvAccess::SimpleChannelProviderFactory< Provider >:
Collaboration diagram for epics::pvAccess::SimpleChannelProviderFactory< Provider >:

Public Types

typedef std::tr1::shared_ptr< ChannelProviderFactoryshared_pointer
 
typedef std::tr1::shared_ptr< const ChannelProviderFactoryconst_shared_pointer
 
typedef std::tr1::weak_ptr< ChannelProviderFactoryweak_pointer
 
typedef std::tr1::weak_ptr< const ChannelProviderFactoryconst_weak_pointer
 

Public Member Functions

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

Detailed Description

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

Simple ChannelProviderFactory which requires the existance of a ctor Provider(const std::tr1::shared_ptr<Configuration>& conf) which is called with a Configuration instance or NULL (use some defaults)

Definition at line 1362 of file pvAccess.h.

Member Typedef Documentation

◆ const_shared_pointer

std::tr1::shared_ptr<const ChannelProviderFactory> epics::pvAccess::ChannelProviderFactory::const_shared_pointer
inherited

Definition at line 1324 of file pvAccess.h.

◆ const_weak_pointer

std::tr1::weak_ptr<const ChannelProviderFactory> epics::pvAccess::ChannelProviderFactory::const_weak_pointer
inherited

Definition at line 1324 of file pvAccess.h.

◆ shared_pointer

std::tr1::shared_ptr<ChannelProviderFactory> epics::pvAccess::ChannelProviderFactory::shared_pointer
inherited

Definition at line 1324 of file pvAccess.h.

◆ weak_pointer

std::tr1::weak_ptr<ChannelProviderFactory> epics::pvAccess::ChannelProviderFactory::weak_pointer
inherited

Definition at line 1324 of file pvAccess.h.

Constructor & Destructor Documentation

◆ SimpleChannelProviderFactory()

template<class Provider >
epics::pvAccess::SimpleChannelProviderFactory< Provider >::SimpleChannelProviderFactory ( const std::string & name)
inline

Definition at line 1364 of file pvAccess.h.

◆ ~SimpleChannelProviderFactory()

template<class Provider >
virtual epics::pvAccess::SimpleChannelProviderFactory< Provider >::~SimpleChannelProviderFactory ( )
inlinevirtual

Definition at line 1365 of file pvAccess.h.

Member Function Documentation

◆ getFactoryName()

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

Get factory name (i.e.

name of the provider).

Returns
the factory name.

Implements epics::pvAccess::ChannelProviderFactory.

Definition at line 1367 of file pvAccess.h.

◆ newInstance() [1/2]

virtual ChannelProvider::shared_pointer epics::pvAccess::ChannelProviderFactory::newInstance ( )
inlinevirtualinherited

Create a new instance using the default Configuration.

Returns
a new instance.

Definition at line 1345 of file pvAccess.h.

◆ newInstance() [2/2]

template<class Provider >
virtual ChannelProvider::shared_pointer epics::pvAccess::SimpleChannelProviderFactory< 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 1380 of file pvAccess.h.

◆ sharedInstance()

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

Get a shared instance using the default Configuration.

Returns
a shared instance.

Implements epics::pvAccess::ChannelProviderFactory.

Definition at line 1369 of file pvAccess.h.


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