Files
epics-base/src/ca/cacNotifyIO.cpp
T
2001-01-25 02:14:59 +00:00

29 lines
548 B
C++

/* $Id$
*
* L O S A L A M O S
* Los Alamos National Laboratory
* Los Alamos, New Mexico 87545
*
* Copyright, 1986, The Regents of the University of California.
*
* Author: Jeff Hill
*/
#include "iocinf.h"
cacNotifyIO::cacNotifyIO ( cacNotify &notifyIn ) : notify ( notifyIn )
{
assert ( ! this->notify.pIO );
this->notify.pIO = this;
}
cacNotifyIO::~cacNotifyIO ()
{
if ( this->notify.pIO == this ) {
this->notify.pIO = 0;
this->notify.destroy ();
}
}