major revisions
This commit is contained in:
53
src/ca/cacNotifyIO.cpp
Normal file
53
src/ca/cacNotifyIO.cpp
Normal file
@@ -0,0 +1,53 @@
|
||||
|
||||
/* $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 ¬ifyIn ) : notify ( notifyIn )
|
||||
{
|
||||
assert ( ! this->notify.pIO );
|
||||
this->notify.pIO = this;
|
||||
}
|
||||
|
||||
cacNotifyIO::~cacNotifyIO ()
|
||||
{
|
||||
if ( this->notify.pIO == this ) {
|
||||
this->notify.pIO = 0;
|
||||
this->notify.destroy ();
|
||||
}
|
||||
}
|
||||
|
||||
void cacNotifyIO::destroy ()
|
||||
{
|
||||
delete this;
|
||||
}
|
||||
|
||||
void cacNotifyIO::completionNotify ()
|
||||
{
|
||||
this->notify.completionNotify ();
|
||||
}
|
||||
|
||||
void cacNotifyIO::completionNotify ( unsigned type, unsigned long count, const void *pData )
|
||||
{
|
||||
this->notify.completionNotify ( type, count, pData );
|
||||
}
|
||||
|
||||
void cacNotifyIO::exceptionNotify ( int status, const char *pContext )
|
||||
{
|
||||
this->notify.exceptionNotify ( status, pContext );
|
||||
}
|
||||
|
||||
void cacNotifyIO::exceptionNotify ( int status, const char *pContext, unsigned type, unsigned long count )
|
||||
{
|
||||
this->notify.exceptionNotify ( status, pContext, type, count );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user