moved exist test expire to exServer.cc
This commit is contained in:
@@ -79,15 +79,3 @@ void exAsyncReadIO::expire()
|
||||
this->postIOCompletion(status);
|
||||
}
|
||||
|
||||
//
|
||||
// exAsyncExistIO::expire()
|
||||
// (a virtual function that runs when the base timer expires)
|
||||
//
|
||||
void exAsyncExistIO::expire()
|
||||
{
|
||||
//
|
||||
// post IO completion
|
||||
//
|
||||
this->postIOCompletion(S_cas_success);
|
||||
}
|
||||
|
||||
|
||||
@@ -168,7 +168,7 @@ caStatus exPV::update(gdd &valueIn)
|
||||
//
|
||||
aitEnum exPV::bestExternalType()
|
||||
{
|
||||
return aitEnumFloat64;
|
||||
return aitEnumFloat32;
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
osiTime exServer::currentTime;
|
||||
|
||||
const pvInfo exServer::pvList[] = {
|
||||
pvInfo (1.0e-4, "jane", 10.0f, 0.0f, excasIoSync),
|
||||
pvInfo (1.0e-1, "jane", 10.0f, 0.0f, excasIoSync),
|
||||
pvInfo (2.0, "fred", 10.0f, -10.0f, excasIoSync),
|
||||
pvInfo (1.0e-4, "janet", 10.0f, 0.0f, excasIoAsync),
|
||||
pvInfo (1.0e-1, "janet", 10.0f, 0.0f, excasIoAsync),
|
||||
pvInfo (2.0, "freddy", 10.0f, -10.0f, excasIoAsync)
|
||||
};
|
||||
|
||||
@@ -105,11 +105,11 @@ caStatus exServer::pvExistTest(const casCtx &ctxIn, const char *pPVName,
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* there are no name aliases in this
|
||||
* server's PV name syntax
|
||||
*/
|
||||
canonicalPVName.putRef (&pPVI->getName());
|
||||
//
|
||||
// there are no name aliases in this
|
||||
// server's PV name syntax
|
||||
//
|
||||
canonicalPVName.put (pPVI->getName());
|
||||
return S_casApp_success;
|
||||
}
|
||||
|
||||
@@ -180,3 +180,15 @@ void exAsyncIOTimer::destroy()
|
||||
{
|
||||
}
|
||||
|
||||
//
|
||||
// exAsyncExistIO::expire()
|
||||
// (a virtual function that runs when the base timer expires)
|
||||
//
|
||||
void exAsyncExistIO::expire()
|
||||
{
|
||||
//
|
||||
// post IO completion
|
||||
//
|
||||
this->postIOCompletion(S_cas_success);
|
||||
}
|
||||
|
||||
|
||||
@@ -370,13 +370,13 @@ public:
|
||||
const casCtx &ctxIn, gdd &canonicalPVName) :
|
||||
exAsyncIO(ctxIn, &canonicalPVName)
|
||||
{
|
||||
canonicalPVName.putRef(&pPVI->getName());
|
||||
canonicalPVName.put (pPVI->getName());
|
||||
}
|
||||
|
||||
//
|
||||
// expire()
|
||||
// (a virtual function that runs when the base timer expires)
|
||||
// see exAsyncPV.cc
|
||||
// see exServer.cc
|
||||
//
|
||||
void expire();
|
||||
private:
|
||||
|
||||
@@ -6,7 +6,7 @@ display {
|
||||
majv="2"
|
||||
mnrv="2"
|
||||
ndyng="0"
|
||||
npc="6"
|
||||
npc="5"
|
||||
nstr="8"
|
||||
ndynamic="12"
|
||||
nplot="0"
|
||||
@@ -21,21 +21,21 @@ display {
|
||||
}
|
||||
clr="0"
|
||||
bclr="1"
|
||||
nwords_dspy="1112"
|
||||
nwords_dspy="1106"
|
||||
nwords_sta="28"
|
||||
nwords_cmap="36"
|
||||
nwords_crules="106"
|
||||
odyng="312"
|
||||
osta="284"
|
||||
odynamic="312"
|
||||
oplot="1112"
|
||||
ord="1112"
|
||||
oes="1112"
|
||||
okd="1112"
|
||||
odyng="306"
|
||||
osta="278"
|
||||
odynamic="306"
|
||||
oplot="1106"
|
||||
ord="1106"
|
||||
oes="1106"
|
||||
okd="1106"
|
||||
opc="58"
|
||||
ostr="94"
|
||||
ocmap="142"
|
||||
ocrules="178"
|
||||
ostr="88"
|
||||
ocmap="136"
|
||||
ocrules="172"
|
||||
style="solid"
|
||||
fill="outline"
|
||||
width="0"
|
||||
@@ -381,7 +381,7 @@ display {
|
||||
x="15"
|
||||
y="43"
|
||||
width="168"
|
||||
height="22"
|
||||
height="26"
|
||||
groupid="0"
|
||||
}
|
||||
control {
|
||||
|
||||
Reference in New Issue
Block a user