broke apart monolithic iocinf.h header file

This commit is contained in:
Jeff Hill
2001-04-20 00:08:41 +00:00
parent 1e786e3d5a
commit 1c6767d3f2
4 changed files with 25 additions and 148 deletions
-31
View File
@@ -1,31 +0,0 @@
/*
* $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 Jeffrey O. Hill
* johill@lanl.gov
* 505 665 1831
*/
#ifndef baseNMIU_ILh
#define baseNMIU_ILh
inline ca_uint32_t baseNMIU::getID () const
{
return this->id;
}
inline nciu & baseNMIU::channel () const
{
return this->chan;
}
#endif // baseNMIU
+25
View File
@@ -0,0 +1,25 @@
/* $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 <stdlib.h>
#include "iocinf.h"
#define epicsExportSharedSymbols
#include "cacIO.h"
#undef epicsExportSharedSymbols
cacNotify::~cacNotify ()
{
}
-75
View File
@@ -1,75 +0,0 @@
/*
* $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 Jeffrey O. Hill
* johill@lanl.gov
* 505 665 1831
*/
#ifndef cac_ILh
#define cac_ILh
#include "recvProcessThread_IL.h"
#include "udpiiu_IL.h"
inline int cac::vPrintf ( const char *pformat, va_list args )
{
if ( this ) {
return ( *this->pVPrintfFunc ) ( pformat, args );
}
else {
return vfprintf ( stderr, pformat, args );
}
}
inline const char * cac::userNamePointer () const
{
return this->pUserName;
}
inline void cac::ipAddrToAsciiAsynchronousRequestInstall ( ipAddrToAsciiAsynchronous & request )
{
request.ioInitiate ( this->ipToAEngine );
}
inline unsigned cac::getInitializingThreadsPriority () const
{
return this->initializingThreadsPriority;
}
inline void cac::incrementOutstandingIO ()
{
this->ioCounter.increment ();
}
inline void cac::decrementOutstandingIO ()
{
this->ioCounter.decrement ();
}
inline void cac::decrementOutstandingIO ( unsigned sequenceNo )
{
this->ioCounter.decrement ( sequenceNo );
}
inline unsigned cac::sequenceNumberOfOutstandingIO () const
{
return this->ioCounter.sequenceNumber ();
}
inline epicsMutex & cac::mutexRef ()
{
return this->mutex;
}
#endif // cac_ILh
-42
View File
@@ -1,42 +0,0 @@
/*
* $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 Jeffrey O. Hill
* johill@lanl.gov
* 505 665 1831
*/
inline netWriteNotifyIO * netWriteNotifyIO::factory (
tsFreeList < class netWriteNotifyIO, 1024 > &freeList,
nciu &chan, cacNotify &notify )
{
return new ( freeList ) netWriteNotifyIO ( chan, notify );
}
inline void * netWriteNotifyIO::operator new ( size_t size,
tsFreeList < class netWriteNotifyIO, 1024 > &freeList )
{
return freeList.allocate ( size );
}
// NOTE: The constructor for netWriteNotifyIO::netWriteNotifyIO() currently does
// not throw an exception, but we should eventually have placement delete
// defined for class netWriteNotifyIO when compilers support this so that
// there is no possibility of a leak if there was an exception in
// a future version of netWriteNotifyIO::netWriteNotifyIO()
#if ! defined ( NO_PLACEMENT_DELETE )
inline void netWriteNotifyIO::operator delete ( void *pCadaver, size_t size,
tsFreeList < class netWriteNotifyIO, 1024 > &freeList )
{
freeList.release ( pCadaver, size );
}
#endif