![]() |
This is Unofficial EPICS BASE Doxygen Site
|
Central client context. More...
#include "client.h"
Classes | |
struct | Impl |
Public Member Functions | |
ClientProvider () | |
Construct a null provider. All methods throw. May later be assigned from a valid ClientProvider. More... | |
ClientProvider (const std::string &providerName, const std::tr1::shared_ptr< epics::pvAccess::Configuration > &conf=std::tr1::shared_ptr< epics::pvAccess::Configuration >()) | |
ClientProvider (const std::tr1::shared_ptr< epics::pvAccess::ChannelProvider > &provider) | |
~ClientProvider () | |
std::string | name () const |
ClientChannel | connect (const std::string &name, const ClientChannel::Options &conf=ClientChannel::Options()) |
bool | disconnect (const std::string &name, const ClientChannel::Options &conf=ClientChannel::Options()) |
Remove from channel cache. More... | |
void | disconnect () |
Clear channel cache. More... | |
bool | valid () const |
operator bool_type () const | |
void | reset () |
Friends | |
void | detail::registerRefTrack () |
epicsShareFunc::std::ostream & | operator<< (::std::ostream &strm, const ClientProvider &op) |
|
inline |
Construct a null provider. All methods throw. May later be assigned from a valid ClientProvider.
pvac::ClientProvider::ClientProvider | ( | const std::string & | providerName, |
const std::tr1::shared_ptr< epics::pvAccess::Configuration > & | conf = std::tr1::shared_ptr<epics::pvAccess::Configuration>() |
||
) |
Use named provider.
providerName | ChannelProvider name, may be prefixed with "clients:" or "servers:" to query epics::pvAccess::ChannelProviderRegistry::clients() or epics::pvAccess::ChannelProviderRegistry::servers(). No prefix implies "clients:". |
Definition at line 250 of file client.cpp.
|
explicit |
Definition at line 276 of file client.cpp.
pvac::ClientProvider::~ClientProvider | ( | ) |
Definition at line 285 of file client.cpp.
ClientChannel pvac::ClientProvider::connect | ( | const std::string & | name, |
const ClientChannel::Options & | conf = ClientChannel::Options() |
||
) |
Get a new Channel
Does not block. Never returns NULL. Uses internal Channel cache.
Definition at line 295 of file client.cpp.
bool pvac::ClientProvider::disconnect | ( | const std::string & | name, |
const ClientChannel::Options & | conf = ClientChannel::Options() |
||
) |
void pvac::ClientProvider::disconnect | ( | ) |
std::string pvac::ClientProvider::name | ( | ) | const |
Definition at line 288 of file client.cpp.
|
inline |
|
inline |
|
friend |
|
friend |
Definition at line 361 of file client.cpp.