fixed warnings

This commit is contained in:
Jeff Hill
2004-02-04 02:14:29 +00:00
parent 82cb39fcd5
commit 8e499dcfb7
3 changed files with 30 additions and 4 deletions

View File

@@ -24,12 +24,12 @@ static int parseDirectoryFP (FILE *pf, const char *pFileName);
// main()
// (example single threaded ca server tool main loop)
//
extern int main (int argc, const char **argv)
extern int main ( int argc, const char **argv )
{
epicsTime begin(epicsTime::getCurrent());
epicsTime begin ( epicsTime::getCurrent() );
directoryServer *pCAS;
unsigned debugLevel = 0u;
double executionTime;
double executionTime = 0.0;
char pvPrefix[128] = "";
char fileName[128] = "pvDirectory.txt";
unsigned aliasCount = 0u;

View File

@@ -93,6 +93,8 @@ private:
const excasIoType ioType;
const unsigned elementCount;
exPV * pPV;
pvInfo & operator = ( const pvInfo & );
pvInfo ( const pvInfo & );
};
//
@@ -117,6 +119,8 @@ public:
private:
pvInfo & info;
exServer & cas;
pvEntry & operator = ( const pvEntry & );
pvEntry ( const pvEntry & );
};
@@ -221,6 +225,9 @@ private:
gddAppFuncTableStatus getValue(gdd &value);
gddAppFuncTableStatus getEnums(gdd &value);
exPV & operator = ( const exPV & );
exPV ( const exPV & );
//
// static
//
@@ -240,6 +247,8 @@ public:
void scan();
private:
caStatus updateValue ( const gdd & );
exScalarPV & operator = ( const exScalarPV & );
exScalarPV ( const exScalarPV & );
};
//
@@ -258,6 +267,8 @@ public:
private:
caStatus updateValue ( const gdd & );
exVectorPV & operator = ( const exVectorPV & );
exVectorPV ( const exVectorPV & )
};
//
@@ -290,6 +301,9 @@ private:
pvAttachReturn pvAttach ( const casCtx &,
const char * pPVName );
exServer & operator = ( const exServer & );
exServer ( const exServer & )
//
// list of pre-created PVs
//
@@ -318,6 +332,8 @@ public:
void removeIO();
private:
unsigned simultAsychIOCount;
exAsyncPV & operator = ( const exAsyncPV & );
exAsyncPV ( const exAsyncPV & )
};
//
@@ -331,6 +347,8 @@ public:
bool readAccess () const;
bool writeAccess () const;
private:
exChannel & operator = ( const exChannel & );
exChannel ( const exChannel & )
};
//
@@ -345,6 +363,8 @@ private:
epicsTimer & timer;
smartConstGDDPointer pValue;
expireStatus expire ( const epicsTime & currentTime );
exAsyncWriteIO & operator = ( const exAsyncWriteIO & );
exAsyncWriteIO ( const exAsyncWriteIO & )
};
//
@@ -359,6 +379,8 @@ private:
epicsTimer & timer;
smartGDDPointer pProto;
expireStatus expire ( const epicsTime & currentTime );
exAsyncReadIO & operator = ( const exAsyncReadIO & );
exAsyncReadIO ( const exAsyncReadIO & )
};
//
@@ -375,6 +397,8 @@ private:
epicsTimer & timer;
exServer & cas;
expireStatus expire ( const epicsTime & currentTime );
exAsyncExistIO & operator = ( const exAsyncExistIO & );
exAsyncExistIO ( const exAsyncExistIO & )
};
@@ -393,6 +417,8 @@ private:
exServer & cas;
bool scanOn;
expireStatus expire ( const epicsTime & currentTime );
exAsyncCreateIO & operator = ( const exAsyncCreateIO & );
exAsyncCreateIO ( const exAsyncCreateIO & )
};
inline pvInfo::pvInfo ( double scanPeriodIn, const char *pNameIn,

View File

@@ -22,7 +22,7 @@ extern int main (int argc, const char **argv)
epicsTime begin (epicsTime::getCurrent());
exServer *pCAS;
unsigned debugLevel = 0u;
double executionTime;
double executionTime = 0.0;
char pvPrefix[128] = "";
unsigned aliasCount = 1u;
unsigned scanOn = true;