#include <CommCalls.h>

Inheritance diagram for CommCbFunPtrCallT< Dialer >:
Collaboration diagram for CommCbFunPtrCallT< Dialer >:

Public Types

typedef RefCount< CommCbFunPtrCallT< Dialer > > Pointer
 
typedef Dialer::Params Params
 

Public Member Functions

 CommCbFunPtrCallT (int debugSection, int debugLevel, const char *callName, const Dialer &aDialer)
 
 CommCbFunPtrCallT (const CommCbFunPtrCallT &o)
 
 ~CommCbFunPtrCallT ()
 
virtual CallDialergetDialer ()
 
void make ()
 
bool cancel (const char *reason)
 
bool canceled ()
 
void print (std::ostream &os)
 
void dequeue (AsyncCall::Pointer &head, AsyncCall::Pointer &prev)
 remove us from the queue; we are head unless we are queued after prev More...
 
void setNext (AsyncCall::Pointer aNext)
 
AsyncCall::PointerNext ()
 

Public Attributes

Dialer dialer
 
const char *const name
 
CodeContext::Pointer codeContext
 what the callee is expected to work on More...
 
const int debugSection
 
const int debugLevel
 
const InstanceId< AsyncCallid
 

Protected Member Functions

virtual bool canFire ()
 
virtual void fire ()
 

Protected Attributes

AsyncCall::Pointer theNext
 

Private Member Functions

CommCbFunPtrCallToperator= (const CommCbFunPtrCallT &)
 

Private Attributes

const char * isCanceled
 

Detailed Description

template<class Dialer>
class CommCbFunPtrCallT< Dialer >

Definition at line 310 of file CommCalls.h.

Member Typedef Documentation

◆ Params

template<class Dialer >
typedef Dialer::Params CommCbFunPtrCallT< Dialer >::Params

Definition at line 314 of file CommCalls.h.

◆ Pointer

template<class Dialer >
typedef RefCount<CommCbFunPtrCallT<Dialer> > CommCbFunPtrCallT< Dialer >::Pointer

Definition at line 313 of file CommCalls.h.

Constructor & Destructor Documentation

◆ CommCbFunPtrCallT() [1/2]

template<class Dialer >
CommCbFunPtrCallT< Dialer >::CommCbFunPtrCallT ( int  debugSection,
int  debugLevel,
const char *  callName,
const Dialer &  aDialer 
)
inline

Definition at line 354 of file CommCalls.h.

◆ CommCbFunPtrCallT() [2/2]

template<class Dialer >
CommCbFunPtrCallT< Dialer >::CommCbFunPtrCallT ( const CommCbFunPtrCallT< Dialer > &  o)
inline

Definition at line 319 of file CommCalls.h.

◆ ~CommCbFunPtrCallT()

template<class Dialer >
CommCbFunPtrCallT< Dialer >::~CommCbFunPtrCallT ( )
inline

Definition at line 323 of file CommCalls.h.

Member Function Documentation

◆ cancel()

◆ canceled()

bool AsyncCall::canceled ( )
inlineinherited

◆ canFire()

template<class Dialer >
bool CommCbFunPtrCallT< Dialer >::canFire
inlineprotectedvirtual

Reimplemented from AsyncCall.

Definition at line 363 of file CommCalls.h.

References AsyncCall::canFire(), and cbdataReferenceValid().

◆ dequeue()

void AsyncCall::dequeue ( AsyncCall::Pointer head,
AsyncCall::Pointer prev 
)
inherited

Definition at line 84 of file AsyncCall.cc.

References head, AsyncCall::Next(), NULL, and AsyncCall::setNext().

◆ fire()

template<class Dialer >
void CommCbFunPtrCallT< Dialer >::fire
inlineprotectedvirtual

Implements AsyncCall.

Definition at line 382 of file CommCalls.h.

◆ getDialer()

template<class Dialer >
virtual CallDialer* CommCbFunPtrCallT< Dialer >::getDialer ( )
inlinevirtual

Implements AsyncCall.

Definition at line 325 of file CommCalls.h.

References CommCbFunPtrCallT< Dialer >::dialer.

◆ make()

void AsyncCall::make ( )
inherited

◆ Next()

AsyncCall::Pointer& AsyncCall::Next ( )
inlineinherited

Definition at line 67 of file AsyncCall.h.

References AsyncCall::theNext.

Referenced by comm_remove_close_handler(), commCallCloseHandlers(), and AsyncCall::dequeue().

◆ operator=()

template<class Dialer >
CommCbFunPtrCallT& CommCbFunPtrCallT< Dialer >::operator= ( const CommCbFunPtrCallT< Dialer > &  )
private

◆ print()

void AsyncCall::print ( std::ostream &  os)
inherited

Definition at line 74 of file AsyncCall.cc.

References AsyncCall::getDialer(), and AsyncCall::name.

Referenced by operator<<().

◆ setNext()

void AsyncCall::setNext ( AsyncCall::Pointer  aNext)
inlineinherited

Definition at line 63 of file AsyncCall.h.

References AsyncCall::theNext.

Referenced by comm_add_close_handler(), commCallCloseHandlers(), and AsyncCall::dequeue().

Member Data Documentation

◆ codeContext

CodeContext::Pointer AsyncCall::codeContext
inherited

◆ debugLevel

◆ debugSection

◆ dialer

template<class Dialer >
Dialer CommCbFunPtrCallT< Dialer >::dialer

Definition at line 328 of file CommCalls.h.

Referenced by CommCbFunPtrCallT< Dialer >::getDialer().

◆ id

const InstanceId<AsyncCall> AsyncCall::id
inherited

Definition at line 79 of file AsyncCall.h.

Referenced by ScheduleCall(), and HappyConnOpener::status().

◆ isCanceled

const char* AsyncCall::isCanceled
privateinherited

◆ name

const char* const AsyncCall::name
inherited

◆ theNext

AsyncCall::Pointer AsyncCall::theNext
protectedinherited

The documentation for this class was generated from the following file:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors