#include <AsyncCall.h>

Inheritance diagram for AsyncCall:
Collaboration diagram for AsyncCall:

Public Types

using Pointer = AsyncCallPointer

Public Member Functions

 AsyncCall (int aDebugSection, int aDebugLevel, const char *aName)
 ~AsyncCall () override
void make ()
bool cancel (const char *reason)
bool canceled () const
virtual CallDialergetDialer ()=0
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

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 ()=0

Protected Attributes

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

Private Member Functions

 AsyncCall ()
 AsyncCall (const AsyncCall &)

Private Attributes

const char * isCanceled

Detailed Description

Definition at line 40 of file AsyncCall.h.

Member Typedef Documentation

◆ Pointer

Definition at line 43 of file AsyncCall.h.

Constructor & Destructor Documentation

◆ AsyncCall() [1/3]

AsyncCall::AsyncCall ( int  aDebugSection,
int  aDebugLevel,
const char *  aName 

Definition at line 21 of file AsyncCall.cc.

References debugLevel, debugs, debugSection, and name.

◆ ~AsyncCall()

AsyncCall::~AsyncCall ( )

Definition at line 33 of file AsyncCall.cc.

References assert, and theNext.

◆ AsyncCall() [2/3]

AsyncCall::AsyncCall ( )

◆ AsyncCall() [3/3]

AsyncCall::AsyncCall ( const AsyncCall )

Member Function Documentation

◆ cancel()

◆ canceled()

bool AsyncCall::canceled ( ) const

Definition at line 53 of file AsyncCall.h.

References isCanceled.

Referenced by commCallCloseHandlers().

◆ canFire()

bool AsyncCall::canFire ( )

◆ dequeue()

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

Definition at line 84 of file AsyncCall.cc.

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

Referenced by comm_remove_close_handler().

◆ fire()

virtual void AsyncCall::fire ( )
protectedpure virtual

◆ getDialer()

virtual CallDialer * AsyncCall::getDialer ( )
pure virtual

◆ make()

void AsyncCall::make ( )

Definition at line 39 of file AsyncCall.cc.

References canFire(), debugLevel, debugs, debugSection, fire(), isCanceled, and name.

◆ Next()

AsyncCall::Pointer & AsyncCall::Next ( )

◆ print()

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

Definition at line 74 of file AsyncCall.cc.

References getDialer(), and name.

Referenced by operator<<().

◆ setNext()

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

Member Data Documentation

◆ codeContext

CodeContext::Pointer AsyncCall::codeContext

Definition at line 74 of file AsyncCall.h.

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

◆ debugLevel

◆ debugSection

◆ id

const InstanceId<AsyncCall> AsyncCall::id

Definition at line 78 of file AsyncCall.h.

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

◆ isCanceled

const char* AsyncCall::isCanceled

Definition at line 88 of file AsyncCall.h.

Referenced by cancel(), canceled(), canFire(), and make().

◆ name

const char* const AsyncCall::name

Definition at line 71 of file AsyncCall.h.

Referenced by AsyncCall(), cancel(), JobDialer< Job >::dial(), make(), and print().

◆ theNext

AsyncCall::Pointer AsyncCall::theNext

Definition at line 85 of file AsyncCall.h.

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

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






Web Site Translations