25 #ifndef INC_sgAutoPtr_H 26 #define INC_sgAutoPtr_H 48 pNotify ( 0 ), sg ( sgIn ), guard ( guardIn )
55 if ( this->pNotify ) {
56 this->sg.ioPendingList.remove ( *this->pNotify );
58 whenThereIsAnExceptionDestroySyncGroupIO ( this->guard, *this->pNotify );
65 if ( this->pNotify ) {
66 this->sg.ioPendingList.remove ( *this->pNotify );
68 whenThereIsAnExceptionDestroySyncGroupIO ( this->guard, *this->pNotify );
70 this->pNotify = pNotifyIn;
71 this->sg.ioPendingList.add ( *this->pNotify );
85 return * this->pNotify;
91 T * pTmp = this->pNotify;
102 #endif // ifndef INC_sgAutoPtr_H
#define assert(exp)
Declare that a condition should be true.
sgAutoPtr(epicsGuard< epicsMutex > &, struct CASG &)
sgAutoPtr< T > & operator=(T *)
ca_client_context & client