This is Unofficial EPICS BASE Doxygen Site
Client API

Namespaces

 pvac::detail
 

Classes

struct  pvac::Operation
 Handle for in-progress get/put/rpc operation. More...
 
struct  pvac::PutEvent
 Information on put completion. More...
 
struct  pvac::GetEvent
 Information on get/rpc completion. More...
 
struct  pvac::InfoEvent
 
struct  pvac::Monitor
 Handle for monitor subscription. More...
 
struct  pvac::MonitorEvent
 Information on monitor subscription/queue change. More...
 
struct  pvac::MonitorSync
 
struct  pvac::ConnectEvent
 information on connect/disconnect More...
 
struct  pvac::Timeout
 Thrown by blocking methods of ClientChannel on operation timeout. More...
 
class  pvac::ClientChannel
 
class  pvac::ClientProvider
 Central client context. More...
 

Functions

::std::ostream & pvac::operator<< (::std::ostream &strm, const Operation &op)
 
::std::ostream & pvac::operator<< (::std::ostream &strm, const Monitor &op)
 
::std::ostream & pvac::operator<< (::std::ostream &strm, const ClientChannel &op)
 
::std::ostream & pvac::operator<< (::std::ostream &strm, const ClientProvider &op)
 
detail::PutBuilder pvac::ClientChannel::put (const epics::pvData::PVStructure::const_shared_pointer &pvRequest=epics::pvData::PVStructure::const_shared_pointer())
 Synchronious put operation. More...
 

Detailed Description

PVAccess network client (or other epics::pvAccess::ChannelProvider)

Usage:

  1. Construct a ClientProvider
  2. Use the ClientProvider to obtain a ClientChannel
  3. Use the ClientChannel to begin an get, put, rpc, or monitor operation

Code examples

Function Documentation

epicsShareFunc::std::ostream & pvac::operator<< ( ::std::ostream &  strm,
const Monitor op 
)

Definition at line 260 of file clientMonitor.cpp.

261 {
262  if(op.impl) {
263  strm << "Monitor("
264  "\"" << op.impl->chan->getChannelName() <<"\", "
265  "\"" << op.impl->chan->getProvider()->getProviderName() <<"\", "
266  "connected="<<(op.impl->chan->isConnected()?"true":"false")
267  <<"\")";
268  } else {
269  strm << "Monitor()";
270  }
271  return strm;
272 }
ChannelPut::shared_pointer op
Definition: pvAccess.cpp:132
epicsShareFunc::std::ostream & pvac::operator<< ( ::std::ostream &  strm,
const Operation op 
)

Definition at line 336 of file client.cpp.

337 {
338  if(op.impl) {
339  op.impl->show(strm);
340  } else {
341  strm << "Operation()";
342  }
343  return strm;
344 }
ChannelPut::shared_pointer op
Definition: pvAccess.cpp:132
epicsShareFunc::std::ostream & pvac::operator<< ( ::std::ostream &  strm,
const ClientChannel op 
)

Definition at line 346 of file client.cpp.

347 {
348  if(op.impl) {
349  strm << "ClientChannel("
350  << typeid(*op.impl->channel.get()).name()<<", "
351  "\"" << op.impl->channel->getChannelName() <<"\", "
352  "\"" << op.impl->channel->getProvider()->getProviderName() <<"\", "
353  "connected="<<(op.impl->channel->isConnected()?"true":"false")
354  <<"\")";
355  } else {
356  strm << "ClientChannel()";
357  }
358  return strm;
359 }
ChannelPut::shared_pointer op
Definition: pvAccess.cpp:132
epicsShareFunc::std::ostream & pvac::operator<< ( ::std::ostream &  strm,
const ClientProvider op 
)

Definition at line 361 of file client.cpp.

362 {
363  if(op.impl) {
364  strm << "ClientProvider("
365  << typeid(*op.impl->provider.get()).name()<<", "
366  "\""<<op.impl->provider->getProviderName()<<"\")";
367  } else {
368  strm << "ClientProvider()";
369  }
370  return strm;
371 }
ChannelPut::shared_pointer op
Definition: pvAccess.cpp:132
detail::PutBuilder pvac::ClientChannel::put ( const epics::pvData::PVStructure::const_shared_pointer &  pvRequest = epics::pvData::PVStructure::const_shared_pointer())
inline

Synchronious put operation.

Definition at line 574 of file client.h.

575 {
576  return detail::PutBuilder(*this, pvRequest);
577 }