36 #if defined ( __SUNPRO_CC ) && ( __SUNPRO_CC <= 0x540 ) 37 # define NETIO_VIRTUAL_DESTRUCTOR 39 # define NETIO_VIRTUAL_DESTRUCTOR virtual 51 virtual void exception (
54 virtual void exception (
61 const void * pData ) = 0;
66 unsigned level )
const = 0;
69 unsigned level )
const = 0;
81 unsigned level )
const;
90 void subscribeIfRequired (
92 void unsubscribeIfRequired (
108 void operator delete (
void * );
109 void *
operator new ( size_t,
111 epicsPlacementDeleteOperator ((
void *,
125 int status,
const char * pContext,
unsigned type,
139 unsigned level )
const;
148 void operator delete (
void * );
149 void *
operator new ( size_t,
151 epicsPlacementDeleteOperator ((
void *,
163 const void * pData );
166 int status,
const char * pContext,
181 unsigned level )
const;
190 void operator delete (
void * );
191 void *
operator new ( size_t,
193 epicsPlacementDeleteOperator ((
void *,
206 const void * pData );
209 int status,
const char * pContext,
unsigned type,
217 inline void * netSubscription::operator
new (
size_t size,
220 return freeList.allocate ( size );
223 #if defined ( CXX_PLACEMENT_DELETE ) 224 inline void netSubscription::operator
delete (
void *pCadaver,
227 freeList.release ( pCadaver );
237 count, mask, notify );
244 arrayElementCount nativeCount = this->privateChanForIO.nativeElementCount ( guard );
245 if ( (this->
count == 0u && !allow_zero) || this->
count > nativeCount ) {
270 inline void * netReadNotifyIO::operator
new (
size_t size,
273 return freeList.allocate ( size );
276 #if defined ( CXX_PLACEMENT_DELETE ) 277 inline void netReadNotifyIO::operator
delete (
void *pCadaver,
280 freeList.release ( pCadaver );
291 inline void * netWriteNotifyIO::operator
new (
size_t size,
294 return freeList.allocate ( size );
297 #if defined ( CXX_PLACEMENT_DELETE ) 298 inline void netWriteNotifyIO::operator
delete (
void *pCadaver,
301 freeList.release ( pCadaver );
305 #endif // ifdef INC_netIO_H virtual void show(unsigned level) const =0
virtual void exception epicsGuard< epicsMutex > cacRecycle int const char unsigned type
static netWriteNotifyIO * factory(tsFreeList< class netWriteNotifyIO, 1024, epicsMutexNOOP > &, privateInterfaceForIO &, cacWriteNotify &)
unsigned getMask(epicsGuard< epicsMutex > &) const
static netSubscription * factory(tsFreeList< class netSubscription, 1024, epicsMutexNOOP > &, class privateInterfaceForIO &, unsigned type, arrayElementCount count, unsigned mask, cacStateNotify &)
const tsDLNode< baseNMIU > & operator=(const tsDLNode< baseNMIU > &)
virtual void forceSubscriptionUpdate(epicsGuard< epicsMutex > &guard, nciu &chan)=0
netSubscription(class privateInterfaceForIO &, unsigned type, arrayElementCount count, unsigned mask, cacStateNotify &)
virtual void exception epicsGuard< epicsMutex > cacRecycle int status
virtual void destroy(epicsGuard< epicsMutex > &, class cacRecycle &)=0
arrayElementCount getCount(epicsGuard< epicsMutex > &, bool allow_zero) const
virtual class netSubscription * isSubscription()=0
unsigned long arrayElementCount
virtual void completion(epicsGuard< epicsMutex > &, cacRecycle &)=0
#define NETIO_VIRTUAL_DESTRUCTOR
Compiler specific declarations.
virtual void exception epicsGuard< epicsMutex > cacRecycle int const char unsigned arrayElementCount count
static netReadNotifyIO * factory(tsFreeList< class netReadNotifyIO, 1024, epicsMutexNOOP > &, privateInterfaceForIO &, cacReadNotify &)
virtual void exception epicsGuard< epicsMutex > cacRecycle int const char * pContext
unsigned getType(epicsGuard< epicsMutex > &) const
NETIO_VIRTUAL_DESTRUCTOR ~baseNMIU()