pvAccessCPP  7.1.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | List of all members
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 >:
Inheritance graph
[legend]
Collaboration diagram for epics::pvAccess::SimpleChannelProviderFactory< Provider >:
Collaboration graph
[legend]

Public Types

typedef std::tr1::shared_ptr
< ChannelProviderFactory
shared_pointer
 
typedef std::tr1::shared_ptr
< const ChannelProviderFactory
const_shared_pointer
 
typedef std::tr1::weak_ptr
< ChannelProviderFactory
weak_pointer
 
typedef std::tr1::weak_ptr
< const ChannelProviderFactory
const_weak_pointer
 

Public Member Functions

 SimpleChannelProviderFactory (const std::string &name)
 
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...
 
virtual
ChannelProvider::shared_pointer 
newInstance ()
 Create a new instance using the default Configuration. More...
 

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 Function Documentation

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.

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.

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.

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: