72 lines
2.6 KiB
HTML
72 lines
2.6 KiB
HTML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
|
|
<title>PvaClientProcess</title>
|
|
<link rel="stylesheet" type="text/css"
|
|
href="http://epics-pvdata.sourceforge.net/base.css" />
|
|
<link rel="stylesheet" type="text/css"
|
|
href="http://epics-pvdata.sourceforge.net/epicsv4.css" />
|
|
<style type="text/css">
|
|
/*<![CDATA[*/
|
|
.about { margin-left: 3em; margin-right: 3em; font-size: .83em}
|
|
table { margin-left: auto; margin-right: auto }
|
|
.diagram { text-align: center; margin: 2.5em 0 }
|
|
span.opt { color: grey }
|
|
span.nterm { font-style:italic }
|
|
span.term { font-family:courier }
|
|
span.user { font-family:courier }
|
|
span.user:before { content:"<" }
|
|
span.user:after { content:">" }
|
|
.nonnorm { font-style:italic }
|
|
p.ed { color: #AA0000 }
|
|
span.ed { color: #AA0000 }
|
|
p.ed.priv { display: inline; }
|
|
span.ed.priv { display: inline; }
|
|
/*]]>*/</style>
|
|
<!-- Script that generates the Table of Contents -->
|
|
<script type="text/javascript"
|
|
src="http://epics-pvdata.sourceforge.net/script/tocgen.js">
|
|
</script>
|
|
</head>
|
|
<body>
|
|
|
|
<h1>PvaClientProcess</h1>
|
|
|
|
<p>
|
|
pvaClientProcess is a synchronous wrapper for the pvAccess::ChannelProcess API, which is a callback based API.
|
|
Thus it is easier to use than pvAccess::ChannelProcess itself.
|
|
</p>
|
|
<p>An instance of PvaClientProcess is created via a call to one of the followimg:</p>
|
|
<pre>
|
|
class PvaClientChannel
|
|
...
|
|
{
|
|
...
|
|
PvaClientProcessPtr createProcess(std::string const & request = "");
|
|
PvaClientProcessPtr createProcess(epics::pvData::PVStructurePtr const & pvRequest);
|
|
...
|
|
};
|
|
<p>An instance of <b>PvaClientProcess</b> connects to a single channel.
|
|
<b>PvaClientProcess</b> has both synchronous methods, which block, and non blocking methods.
|
|
</p>
|
|
<p><b>PvaClientChannel</b> has methods:</p>
|
|
<pre>
|
|
connect Calls issueConnect and then waitConnect.
|
|
issueConnect issues a request to the server to create the server side of ChannelPut.
|
|
waitConnect blocks until server responds that it has created the ChannelPut.
|
|
process Calls issueProcess and then waitProcess.
|
|
issueProcess issues a process request to the server.
|
|
waitProcess waits until the server send a message that the process is complete.
|
|
</pre>
|
|
<p>
|
|
<b>issueConnect</b> and <b>issueProcess</b> do not block.
|
|
All other methods can block.
|
|
</p>
|
|
|
|
</body>
|
|
</html>
|
|
|