This is Unofficial EPICS BASE Doxygen Site
epics::pvAccess::ServerContext::Config Class Reference

Options for a server insatnce. More...

#include "serverContext.h"

Public Member Functions

 Config ()
 
Configconfig (const Configuration::const_shared_pointer &c)
 Use specific configuration. Default is process environment. More...
 
Configproviders (const std::vector< ChannelProvider::shared_pointer > &p)
 Attach many providers. More...
 
Configprovider (const ChannelProvider::shared_pointer &p)
 short hand for providers() with a length 1 vector. More...
 

Friends

class ServerContext
 

Detailed Description

Options for a server insatnce.

Definition at line 103 of file serverContext.h.

Constructor & Destructor Documentation

epics::pvAccess::ServerContext::Config::Config ( )
inline

Definition at line 108 of file serverContext.h.

108 {}

Member Function Documentation

Config& epics::pvAccess::ServerContext::Config::config ( const Configuration::const_shared_pointer &  c)
inline

Use specific configuration. Default is process environment.

Definition at line 110 of file serverContext.h.

110 { _conf = c; return *this; }
Config& epics::pvAccess::ServerContext::Config::provider ( const ChannelProvider::shared_pointer &  p)
inline

short hand for providers() with a length 1 vector.

Definition at line 114 of file serverContext.h.

114 { _providers.push_back(p); return *this; }
Config& epics::pvAccess::ServerContext::Config::providers ( const std::vector< ChannelProvider::shared_pointer > &  p)
inline

Attach many providers.

Definition at line 112 of file serverContext.h.

112 { _providers = p; return *this; }

Friends And Related Function Documentation

friend class ServerContext
friend

Definition at line 104 of file serverContext.h.


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