UnaryCbcCallbackDialer< Destination, Argument1 > Class Template Reference

#include <AsyncCallbacks.h>

Inheritance diagram for UnaryCbcCallbackDialer< Destination, Argument1 >:
Collaboration diagram for UnaryCbcCallbackDialer< Destination, Argument1 >:

Public Types

typedef void(Destination::* Method) (Argument1 &)
 
using Answer = Argument1
 

Public Member Functions

 UnaryCbcCallbackDialer (Method method, Destination *destination)
 
 ~UnaryCbcCallbackDialer () override=default
 
bool canDial (AsyncCall &)
 
void dial (AsyncCall &)
 
void print (std::ostream &os) const final
 
Argument1answer () final
 callback results setter More...
 

Private Attributes

CbcPointer< Destination > destination_
 object to deliver the answer to More...
 
Method method_
 Destination method to call with the answer. More...
 
Argument1 arg1_
 

Detailed Description

template<class Destination, typename Argument1>
class UnaryCbcCallbackDialer< Destination, Argument1 >

CallDialer for single-parameter callback methods of cbdata-protected classes that are not AsyncJobs (use UnaryJobCallbackDialer for the latter).

Definition at line 106 of file AsyncCallbacks.h.

Member Typedef Documentation

◆ Answer

using WithAnswer< Argument1 >::Answer = Argument1
inherited

Definition at line 21 of file AsyncCallbacks.h.

◆ Method

template<class Destination , typename Argument1 >
typedef void(Destination::* UnaryCbcCallbackDialer< Destination, Argument1 >::Method) (Argument1 &)

Definition at line 112 of file AsyncCallbacks.h.

Constructor & Destructor Documentation

◆ UnaryCbcCallbackDialer()

template<class Destination , typename Argument1 >
UnaryCbcCallbackDialer< Destination, Argument1 >::UnaryCbcCallbackDialer ( Method  method,
Destination *  destination 
)
inline

Definition at line 114 of file AsyncCallbacks.h.

◆ ~UnaryCbcCallbackDialer()

template<class Destination , typename Argument1 >
UnaryCbcCallbackDialer< Destination, Argument1 >::~UnaryCbcCallbackDialer ( )
overridedefault

Member Function Documentation

◆ answer()

template<class Destination , typename Argument1 >
Argument1 & UnaryCbcCallbackDialer< Destination, Argument1 >::answer ( )
inlinefinalvirtual

◆ canDial()

template<class Destination , typename Argument1 >
bool UnaryCbcCallbackDialer< Destination, Argument1 >::canDial ( AsyncCall )
inline

◆ dial()

template<class Destination , typename Argument1 >
void UnaryCbcCallbackDialer< Destination, Argument1 >::dial ( AsyncCall )
inline

◆ print()

template<class Destination , typename Argument1 >
void UnaryCbcCallbackDialer< Destination, Argument1 >::print ( std::ostream &  os) const
inlinefinalvirtual

Implements CallDialer.

Definition at line 120 of file AsyncCallbacks.h.

References UnaryCbcCallbackDialer< Destination, Argument1 >::arg1_.

Member Data Documentation

◆ arg1_

◆ destination_

template<class Destination , typename Argument1 >
CbcPointer<Destination> UnaryCbcCallbackDialer< Destination, Argument1 >::destination_
private

◆ method_

template<class Destination , typename Argument1 >
Method UnaryCbcCallbackDialer< Destination, Argument1 >::method_
private

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors