#include <AsyncCall.h>

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

Public Types

typedef RefCount< AsyncCallPointer
 

Public Member Functions

 AsyncCallT (int aDebugSection, int aDebugLevel, const char *aName, const Dialer &aDialer)
 
 AsyncCallT (const AsyncCallT< Dialer > &o)
 
 ~AsyncCallT ()
 
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

const char *const name
 
const int debugSection
 
const int debugLevel
 
const InstanceId< AsyncCallid
 

Protected Member Functions

virtual bool canFire ()
 
virtual void fire ()
 

Protected Attributes

Dialer dialer
 
AsyncCall::Pointer theNext
 

Private Member Functions

AsyncCallToperator= (const AsyncCallT &)
 

Detailed Description

template<class Dialer>
class AsyncCallT< Dialer >

This template implements an AsyncCall using a specified Dialer class

Definition at line 125 of file AsyncCall.h.

Member Typedef Documentation

Definition at line 47 of file AsyncCall.h.

Constructor & Destructor Documentation

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

Definition at line 128 of file AsyncCall.h.

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

Definition at line 132 of file AsyncCall.h.

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

Definition at line 136 of file AsyncCall.h.

Member Function Documentation

bool AsyncCall::canceled ( )
inlineinherited

Definition at line 58 of file AsyncCall.h.

References AsyncCall::isCanceled, and NULL.

Referenced by Downloader::doneAll().

template<class Dialer>
virtual bool AsyncCallT< Dialer >::canFire ( )
inlineprotectedvirtual

Reimplemented from AsyncCall.

Definition at line 141 of file AsyncCall.h.

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

Definition at line 80 of file AsyncCall.cc.

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

template<class Dialer>
virtual void AsyncCallT< Dialer >::fire ( )
inlineprotectedvirtual

Implements AsyncCall.

Reimplemented in Adaptation::AnswerCall.

Definition at line 145 of file AsyncCall.h.

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

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

Implements AsyncCall.

Definition at line 138 of file AsyncCall.h.

void AsyncCall::make ( )
inherited
AsyncCall::Pointer& AsyncCall::Next ( )
inlineinherited

Definition at line 71 of file AsyncCall.h.

References AsyncCall::theNext.

Referenced by AsyncCall::dequeue().

template<class Dialer>
AsyncCallT& AsyncCallT< Dialer >::operator= ( const AsyncCallT< Dialer > &  )
private
void AsyncCall::print ( std::ostream &  os)
inherited
Todo:
make this method const by providing a const getDialer()

Definition at line 70 of file AsyncCall.cc.

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

Referenced by operator<<().

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

Definition at line 67 of file AsyncCall.h.

References AsyncCall::theNext.

Referenced by AsyncCall::dequeue().

Member Data Documentation

template<class Dialer>
Dialer AsyncCallT< Dialer >::dialer
protected
const InstanceId<AsyncCall> AsyncCall::id
inherited

Definition at line 79 of file AsyncCall.h.

const char* const AsyncCall::name
inherited
AsyncCall::Pointer AsyncCall::theNext
protectedinherited

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors