changed oldCAC from class to struct

This commit is contained in:
Jeff Hill
2001-10-15 21:46:42 +00:00
parent 42b8dcc3bf
commit 78239fb213

View File

@@ -29,7 +29,7 @@
struct oldChannelNotify : public cacChannelNotify {
public:
oldChannelNotify ( class oldCAC &, const char *pName,
oldChannelNotify ( struct oldCAC &, const char *pName,
caCh *pConnCallBackIn, void *pPrivateIn, capri priority );
void destroy ();
void setPrivatePointer ( void * );
@@ -183,7 +183,7 @@ private:
static epicsMutex freeListMutex;
};
class oldCAC : public cacNotify
struct oldCAC : public cacNotify
{
public:
oldCAC ( bool enablePreemptiveCallback = false );
@@ -218,6 +218,7 @@ public:
int vPrintf ( const char *pformat, va_list args ) const;
void vSignal ( int ca_status, const char *pfilenm,
int lineno, const char *pFormat, va_list args );
bool preemptiveCallbakIsEnabled () const;
private:
mutable epicsMutex mutex;
cac & clientCtx;
@@ -511,4 +512,9 @@ inline void oldCAC::selfTest ()
this->clientCtx.selfTest ();
}
inline bool oldCAC::preemptiveCallbakIsEnabled () const
{
return this->clientCtx.preemptiveCallbakIsEnabled ();
}
#endif // ifndef oldAccessh