added large array PV

This commit is contained in:
Jeff Hill
2002-05-13 21:58:15 +00:00
parent f2f41fd87b
commit cdd45ec756
3 changed files with 9 additions and 7 deletions

View File

@@ -48,9 +48,7 @@ exPV::exPV ( pvInfo &setup, bool preCreateFlag, bool scanOnIn ) :
//
exPV::~exPV()
{
if ( this->getCAS() ) {
this->timer.destroy ();
}
this->timer.destroy ();
this->info.unlinkPV();
}

View File

@@ -27,6 +27,7 @@ const unsigned exServer::pvListNElem = NELEMENTS (exServer::pvList);
//
pvInfo exServer::bill (-1.0, "bill", 10.0f, -10.0f, excasIoSync, 1u);
pvInfo exServer::billy (-1.0, "billy", 10.0f, -10.0f, excasIoAsync, 1u);
pvInfo exServer::bloaty (-1.0, "bloaty", 10.0f, -10.0f, excasIoSync, 100000);
//
// exServer::exServer()
@@ -77,10 +78,12 @@ exServer::exServer ( const char * const pvPrefix,
// Install create on-the-fly PVs
// into the PV name hash table
//
sprintf(pvAlias, pNameFmtStr, pvPrefix, bill.getName());
this->installAliasName(bill, pvAlias);
sprintf(pvAlias, pNameFmtStr, pvPrefix, billy.getName());
this->installAliasName(billy, pvAlias);
sprintf ( pvAlias, pNameFmtStr, pvPrefix, bill.getName() );
this->installAliasName ( bill, pvAlias );
sprintf ( pvAlias, pNameFmtStr, pvPrefix, billy.getName() );
this->installAliasName ( billy, pvAlias );
sprintf ( pvAlias, pNameFmtStr, pvPrefix, bloaty.getName() );
this->installAliasName ( bloaty, pvAlias );
}
//

View File

@@ -331,6 +331,7 @@ private:
//
static pvInfo bill;
static pvInfo billy;
static pvInfo bloaty;
};
//