#include <AsyncCall.h>

Inheritance diagram for AsyncCallT< DialerClass >:
Collaboration diagram for AsyncCallT< DialerClass >:

Public Types

using Dialer = DialerClass
 
using Pointer = AsyncCallPointer
 

Public Member Functions

 AsyncCallT (int aDebugSection, int aDebugLevel, const char *aName, const Dialer &aDialer)
 
 AsyncCallT (const AsyncCallT< Dialer > &o)
 
 ~AsyncCallT () override
 
CallDialergetDialer () override
 
void make ()
 
bool cancel (const char *reason)
 
bool canceled () const
 
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

bool canFire () override
 
void fire () override
 

Protected Attributes

AsyncCall::Pointer theNext
 for AsyncCallList and similar lists More...
 

Private Member Functions

AsyncCallToperator= (const AsyncCallT &)
 

Private Attributes

const char * isCanceled
 

Detailed Description

template<class DialerClass>
class AsyncCallT< DialerClass >

This template implements an AsyncCall using a specified Dialer class

Definition at line 124 of file AsyncCall.h.

Member Typedef Documentation

◆ Dialer

template<class DialerClass >
using AsyncCallT< DialerClass >::Dialer = DialerClass

Definition at line 127 of file AsyncCall.h.

◆ Pointer

Definition at line 43 of file AsyncCall.h.

Constructor & Destructor Documentation

◆ AsyncCallT() [1/2]

template<class DialerClass >
AsyncCallT< DialerClass >::AsyncCallT ( int  aDebugSection,
int  aDebugLevel,
const char *  aName,
const Dialer aDialer 
)
inline

Definition at line 129 of file AsyncCall.h.

◆ AsyncCallT() [2/2]

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

Definition at line 133 of file AsyncCall.h.

◆ ~AsyncCallT()

template<class DialerClass >
AsyncCallT< DialerClass >::~AsyncCallT ( )
inlineoverride

Definition at line 137 of file AsyncCall.h.

Member Function Documentation

◆ cancel()

◆ canceled()

bool AsyncCall::canceled ( ) const
inlineinherited

Definition at line 53 of file AsyncCall.h.

References AsyncCall::isCanceled.

Referenced by commCallCloseHandlers().

◆ canFire()

template<class DialerClass >
bool AsyncCallT< DialerClass >::canFire ( )
inlineoverrideprotectedvirtual

Reimplemented from AsyncCall.

Definition at line 144 of file AsyncCall.h.

References AsyncCall::canFire(), and AsyncCallT< DialerClass >::dialer.

◆ dequeue()

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

Definition at line 84 of file AsyncCall.cc.

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

Referenced by comm_remove_close_handler().

◆ fire()

template<class DialerClass >
void AsyncCallT< DialerClass >::fire ( )
inlineoverrideprotectedvirtual

Implements AsyncCall.

Definition at line 148 of file AsyncCall.h.

References AsyncCallT< DialerClass >::dialer.

Referenced by Adaptation::AnswerCall::fire().

◆ getDialer()

template<class DialerClass >
CallDialer * AsyncCallT< DialerClass >::getDialer ( )
inlineoverridevirtual

Implements AsyncCall.

Definition at line 139 of file AsyncCall.h.

References AsyncCallT< DialerClass >::dialer.

◆ make()

void AsyncCall::make ( )
inherited

◆ Next()

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

◆ operator=()

template<class DialerClass >
AsyncCallT & AsyncCallT< DialerClass >::operator= ( const AsyncCallT< DialerClass > &  )
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

Member Data Documentation

◆ codeContext

CodeContext::Pointer AsyncCall::codeContext
inherited

Definition at line 74 of file AsyncCall.h.

Referenced by CallSubscription< Call_ >::callback(), and ScheduleCall().

◆ debugLevel

◆ debugSection

◆ dialer

template<class DialerClass >
Dialer AsyncCallT< DialerClass >::dialer

◆ id

const InstanceId<AsyncCall> AsyncCall::id
inherited

Definition at line 78 of file AsyncCall.h.

Referenced by JobWaitBase::print(), and ScheduleCall().

◆ isCanceled

const char* AsyncCall::isCanceled
privateinherited

◆ name

const char* const AsyncCall::name
inherited

◆ theNext

AsyncCall::Pointer AsyncCall::theNext
protectedinherited

Definition at line 85 of file AsyncCall.h.

Referenced by AsyncCall::~AsyncCall(), AsyncCall::Next(), and AsyncCall::setNext().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors