This commit is contained in:
Michael Davidsaver
2020-07-27 08:48:50 -07:00
parent 3b9dd9c405
commit 5f421ce46b
+17
View File
@@ -375,6 +375,23 @@ public:
RequestBuilder request();
/** Request prompt search of any disconnected channels.
*
* This method is recommended for use when executing a batch of operations.
*
* @code
* Context ctxt = ...;
* std::vector<std::string> pvnames = ...;
* std::vector<Operation> ops(pvnames.size());
*
* // Initiate all operations
* for(size_t i=0; i<pvname.size(); i++)
* ops[i] = ctxt.get(pvnames[i]).exec();
*
* ctxt.hurryUp(); // indicate end of batch
*
* for(size_t i=0; i<pvname.size(); i++)
* ... = ops[i].wait(); // wait for results
* @endcode
*
* Optional. Equivalent to detection of a new server.
* This method has no effect if called more often than once per 30 seconds.