Definition at line 360 of file ipAddrToAsciiAsynchronous.cpp.
363 memset ( & this->addr,
'\0',
sizeof ( this->addr ) );
364 this->addr.sa.sa_family = AF_UNSPEC;
ipAddrToAsciiCallBack * pCB
ipAddrToAsciiEnginePrivate & engine
ipAddrToAsciiTransactionPrivate::~ipAddrToAsciiTransactionPrivate |
( |
| ) |
|
|
virtual |
Definition at line 373 of file ipAddrToAsciiAsynchronous.cpp.
380 if ( pGlobal->pCurrent ==
this &&
381 pGlobal->callbackInProgress &&
382 ! pGlobal->thread.isCurrentThread() ) {
385 assert ( pGlobal->cancelPendingCount < UINT_MAX );
386 pGlobal->cancelPendingCount++;
389 pGlobal->destructorBlockEvent.wait ();
391 assert ( pGlobal->cancelPendingCount > 0u );
392 pGlobal->cancelPendingCount--;
394 if ( pGlobal->cancelPendingCount ) {
395 pGlobal->destructorBlockEvent.signal ();
401 if ( pGlobal->pCurrent ==
this ) {
403 pGlobal->pCurrent = 0;
407 pGlobal->labor.remove ( *
this );
#define assert(exp)
Declare that a condition should be true.
static ipAddrToAsciiGlobal * pEngine
ipAddrToAsciiEnginePrivate & engine
osiSockAddr ipAddrToAsciiTransactionPrivate::address |
( |
| ) |
const |
|
virtual |
Implements ipAddrToAsciiTransaction.
Definition at line 420 of file ipAddrToAsciiAsynchronous.cpp.
430 errlogPrintf(
"Warning: ipAddrToAscii on transaction with release()'d ipAddrToAsciiEngine");
433 }
else if ( !this->
pending && pGlobal->labor.count () < 16u ) {
438 pGlobal->labor.add ( *
this );
447 pGlobal->laborEvent.signal ();
450 char autoNameTmp[256];
452 sizeof ( autoNameTmp ) );
unsigned epicsStdCall sockAddrToDottedIP(const struct sockaddr *paddr, char *pBuf, unsigned bufSize)
virtual void transactionComplete(const char *pHostName)=0
static ipAddrToAsciiGlobal * pEngine
int errlogPrintf(const char *pFormat,...)
ipAddrToAsciiCallBack * pCB
ipAddrToAsciiEnginePrivate & engine
void ipAddrToAsciiTransactionPrivate::operator delete |
( |
void * |
| ) |
|
Definition at line 271 of file ipAddrToAsciiAsynchronous.cpp.
278 errlogPrintf (
"%s:%d this compiler is confused about placement delete - memory was probably leaked",
279 __FILE__, __LINE__ );
int errlogPrintf(const char *pFormat,...)
void ipAddrToAsciiTransactionPrivate::release |
( |
| ) |
|
|
virtual |
void ipAddrToAsciiTransactionPrivate::show |
( |
unsigned |
level | ) |
const |
|
virtual |
Implements ipAddrToAsciiTransaction.
Definition at line 462 of file ipAddrToAsciiAsynchronous.cpp.
467 printf (
"ipAddrToAsciiTransactionPrivate for address %s\n", ipAddr );
470 static_cast <void *> ( & this->
engine ) );
471 this->
pCB->
show ( level - 1u );
unsigned epicsStdCall sockAddrToDottedIP(const struct sockaddr *paddr, char *pBuf, unsigned bufSize)
virtual void show(unsigned level) const
static ipAddrToAsciiGlobal * pEngine
ipAddrToAsciiCallBack * pCB
ipAddrToAsciiEnginePrivate & engine
bool ipAddrToAsciiTransactionPrivate::pending |
The documentation for this class was generated from the following file: