installed
This commit is contained in:
36
src/ca/nciu_IL.h
Normal file
36
src/ca/nciu_IL.h
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
/*
|
||||
* $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
|
||||
*/
|
||||
|
||||
|
||||
//
|
||||
// nciu inline member functions
|
||||
//
|
||||
|
||||
inline void * nciu::operator new (size_t size)
|
||||
{
|
||||
return nciu::freeList.allocate (size);
|
||||
}
|
||||
|
||||
inline void nciu::operator delete (void *pCadaver, size_t size)
|
||||
{
|
||||
nciu::freeList.release (pCadaver,size);
|
||||
}
|
||||
|
||||
inline bool nciu::fullyConstructed () const
|
||||
{
|
||||
return this->f_fullyConstructed;
|
||||
}
|
||||
27
src/ca/netReadNotifyIO_IL.h
Normal file
27
src/ca/netReadNotifyIO_IL.h
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
/*
|
||||
* $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 void * netReadNotifyIO::operator new (size_t size)
|
||||
{
|
||||
return netReadNotifyIO::freeList.allocate (size);
|
||||
}
|
||||
|
||||
inline void netReadNotifyIO::operator delete (void *pCadaver, size_t size)
|
||||
{
|
||||
netReadNotifyIO::freeList.release (pCadaver,size);
|
||||
}
|
||||
|
||||
27
src/ca/netSubscription_IL.h
Normal file
27
src/ca/netSubscription_IL.h
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
/*
|
||||
* $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 void * netSubscription::operator new (size_t size)
|
||||
{
|
||||
return netSubscription::freeList.allocate (size);
|
||||
}
|
||||
|
||||
inline void netSubscription::operator delete (void *pCadaver, size_t size)
|
||||
{
|
||||
netSubscription::freeList.release (pCadaver,size);
|
||||
}
|
||||
29
src/ca/netWriteNotifyIO_IL.h
Normal file
29
src/ca/netWriteNotifyIO_IL.h
Normal file
@@ -0,0 +1,29 @@
|
||||
|
||||
/*
|
||||
* $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
|
||||
*/
|
||||
|
||||
//
|
||||
// netWriteNotifyIO inline member functions
|
||||
//
|
||||
inline void * netWriteNotifyIO::operator new (size_t size)
|
||||
{
|
||||
return netWriteNotifyIO::freeList.allocate (size);
|
||||
}
|
||||
|
||||
inline void netWriteNotifyIO::operator delete (void *pCadaver, size_t size)
|
||||
{
|
||||
netWriteNotifyIO::freeList.release (pCadaver,size);
|
||||
}
|
||||
73
src/ca/tcpiiu_IL.h
Normal file
73
src/ca/tcpiiu_IL.h
Normal file
@@ -0,0 +1,73 @@
|
||||
|
||||
|
||||
/*
|
||||
* $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 osiSockAddr tcpiiu::address () const
|
||||
{
|
||||
return this->dest;
|
||||
}
|
||||
|
||||
inline void * tcpiiu::operator new (size_t size)
|
||||
{
|
||||
return tcpiiu::freeList.allocate (size);
|
||||
}
|
||||
|
||||
inline void tcpiiu::operator delete (void *pCadaver, size_t size)
|
||||
{
|
||||
tcpiiu::freeList.release (pCadaver,size);
|
||||
}
|
||||
|
||||
inline bool tcpiiu::fullyConstructed () const
|
||||
{
|
||||
return this->fc;
|
||||
}
|
||||
|
||||
inline void tcpiiu::flush ()
|
||||
{
|
||||
if ( cacRingBufferWriteFlush ( &this->send ) ) {
|
||||
this->armSendWatchdog ();
|
||||
}
|
||||
}
|
||||
|
||||
inline void tcpiiu::hostName ( char *pBuf, unsigned bufLength ) const
|
||||
{
|
||||
if ( bufLength ) {
|
||||
strncpy ( pBuf, this->host_name_str, bufLength );
|
||||
pBuf[bufLength - 1u] = '\0';
|
||||
}
|
||||
}
|
||||
|
||||
// deprecated - please dont use
|
||||
inline const char * tcpiiu::pHostName () const
|
||||
{
|
||||
return this->host_name_str;
|
||||
}
|
||||
|
||||
inline bool tcpiiu::ca_v42_ok () const
|
||||
{
|
||||
return CA_V42 (CA_PROTOCOL_VERSION, this->minor_version_number);
|
||||
}
|
||||
|
||||
inline bool tcpiiu::ca_v41_ok () const
|
||||
{
|
||||
return CA_V41 (CA_PROTOCOL_VERSION, this->minor_version_number);
|
||||
}
|
||||
|
||||
inline SOCKET tcpiiu::getSock () const
|
||||
{
|
||||
return this->sock;
|
||||
}
|
||||
Reference in New Issue
Block a user