removed off normal code from inline function

This commit is contained in:
Jeff Hill
2002-03-07 18:50:18 +00:00
parent 43c216e749
commit a0bc56d975
2 changed files with 19 additions and 9 deletions

View File

@@ -88,6 +88,20 @@ void comQueSend::clear ()
assert ( this->nBytesPending == 0 );
}
void comQueSend::clearUncommitted ()
{
while ( this->pFirstUncommited.valid() ) {
tsDLIterBD < comBuf > next = this->pFirstUncommited;
next++;
this->pFirstUncommited->clearUncommittedIncomming ();
if ( this->pFirstUncommited->occupiedBytes() == 0u ) {
this->bufs.remove ( *this->pFirstUncommited );
this->pFirstUncommited->destroy ();
}
this->pFirstUncommited = next;
}
}
void comQueSend::copy_dbr_string ( const void *pValue, unsigned nElem )
{
this->copyIn ( static_cast <const dbr_string_t *> ( pValue ), nElem );