many changes

This commit is contained in:
Jeff Hill
2001-03-07 16:32:18 +00:00
parent 7cac5852ef
commit 35a62778b8
10 changed files with 1162 additions and 1438 deletions

View File

@@ -16,9 +16,10 @@
#include "baseNMIU_IL.h"
tsFreeList < class netWriteNotifyIO, 1024 > netWriteNotifyIO::freeList;
epicsMutex netWriteNotifyIO::freeListMutex;
netWriteNotifyIO::netWriteNotifyIO ( nciu &chan, cacNotify &notifyIn ) :
cacNotifyIO ( notifyIn ), baseNMIU ( chan )
baseNMIU ( notifyIn, chan )
{
}
@@ -26,44 +27,10 @@ netWriteNotifyIO::~netWriteNotifyIO ()
{
}
void netWriteNotifyIO::destroy ()
{
delete this;
}
void netWriteNotifyIO::completionNotify ()
{
this->notify ().completionNotify ( this->channelIO () );
}
void netWriteNotifyIO::completionNotify (
unsigned /* type */, unsigned long /* count */,
const void * /* pData */ )
{
this->notify ().completionNotify ( this->channelIO () );
}
void netWriteNotifyIO::exceptionNotify ( int status,
const char *pContext )
{
this->notify ().exceptionNotify ( this->channelIO (), status, pContext );
}
void netWriteNotifyIO::exceptionNotify ( int status,
const char *pContext, unsigned type, unsigned long count )
{
this->notify ().exceptionNotify ( this->channelIO (), status, pContext, type, count );
}
cacChannelIO & netWriteNotifyIO::channelIO () const
{
return this->channel ();
}
void netWriteNotifyIO::show ( unsigned level ) const
{
printf ( "read write notify IO at %p\n",
static_cast <const void *> ( this ) );
static_cast < const void * > ( this ) );
if ( level > 0u ) {
this->baseNMIU::show ( level - 1u );
}