renamed createPV() to pvAttach()

This commit is contained in:
Jeff Hill
1998-12-19 00:04:53 +00:00
parent 6f8e2cd675
commit 4ab910abd1
17 changed files with 251 additions and 119 deletions
+4 -4
View File
@@ -197,9 +197,9 @@ pvExistReturn exServer::pvExistTest
}
//
// exServer::createPV()
// exServer::pvAttach()
//
pvCreateReturn exServer::createPV
pvAttachReturn exServer::pvAttach
(const casCtx &ctx, const char *pName)
{
//
@@ -360,10 +360,10 @@ void exAsyncCreateIO::expire()
pPV = this->pvi.createPV(this->cas, aitFalse, this->scanOn);
if (pPV) {
this->postIOCompletion (pvCreateReturn(*pPV));
this->postIOCompletion (pvAttachReturn(*pPV));
}
else {
this->postIOCompletion (pvCreateReturn(S_casApp_noMemory));
this->postIOCompletion (pvAttachReturn(S_casApp_noMemory));
}
}
+3 -3
View File
@@ -316,7 +316,7 @@ public:
void show (unsigned level) const;
pvExistReturn pvExistTest (const casCtx&, const char *pPVName);
pvCreateReturn createPV (const casCtx &ctx, const char *pPVName);
pvAttachReturn pvAttach (const casCtx &ctx, const char *pPVName);
void installAliasName(pvInfo &info, const char *pAliasName);
inline void removeAliasName(pvEntry &entry);
@@ -538,14 +538,14 @@ private:
// exAsyncCreateIO
// (PV create async IO)
//
class exAsyncCreateIO : public casAsyncPVCreateIO, public exOSITimer {
class exAsyncCreateIO : public casAsyncPVAttachIO, public exOSITimer {
public:
//
// exAsyncCreateIO()
//
exAsyncCreateIO(pvInfo &pviIn, exServer &casIn,
const casCtx &ctxIn, aitBool scanOnIn) :
casAsyncPVCreateIO(ctxIn), exOSITimer(0.00001),
casAsyncPVAttachIO(ctxIn), exOSITimer(0.00001),
pvi(pviIn), cas(casIn), scanOn(scanOnIn) {}
~exAsyncCreateIO()