From 7c124f6e93669d7a71aa93b6fa4a0cb4741fb722 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Fri, 6 Dec 1996 22:33:49 +0000 Subject: [PATCH] virtual ~casPVI(), ~casPVListChan(), ~casChannelI() --- src/cas/generic/casInternal.h | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/cas/generic/casInternal.h b/src/cas/generic/casInternal.h index b6279279a..c5691ba31 100644 --- a/src/cas/generic/casInternal.h +++ b/src/cas/generic/casInternal.h @@ -29,6 +29,9 @@ * * History * $Log$ + * Revision 1.8 1996/11/02 00:54:14 jhill + * many improvements + * * Revision 1.7 1996/09/16 18:24:02 jhill * vxWorks port changes * @@ -414,7 +417,7 @@ class casPVI; class casChannelI : public tsDLNode, public casRes { public: casChannelI (const casCtx &ctx, casChannel &chanAdapter); - ~casChannelI(); + virtual ~casChannelI(); void show (unsigned level); @@ -492,7 +495,7 @@ class casPVListChan : public casChannelI, public tsDLNode { public: inline casPVListChan (const casCtx &ctx, casChannel &chanAdapter); - inline ~casPVListChan(); + virtual ~casPVListChan(); }; class caServerI; @@ -511,18 +514,18 @@ public: // for the PV in this system // casPVI (caServerI &cas, const char * const pNameIn, casPV &pvAdapter); - ~casPVI(); + virtual ~casPVI(); // // for use by the server library // - caServerI &getCAS() {return this->cas;} + inline caServerI &getCAS(); // // CA only does 1D arrays for now (and the new server // temporarily does only scalers) // - aitIndex nativeCount() {return 1u; /* scaler */ } + inline aitIndex nativeCount(); // // only for use by casMonitor @@ -557,8 +560,6 @@ public: inline casPV *interfaceObjectPointer() const; - inline casPV * operator -> () const; - caServer *getExtServer(); // @@ -568,12 +569,14 @@ public: inline aitBool okToBeginNewIO() const; + inline casPV * operator -> () const; private: tsDLList chanList; caServerI &cas; casPV &pv; unsigned nMonAttached; unsigned nIOAttached; + unsigned destroyInProgress:1; inline void lock(); inline void unlock();