#include <AsyncCallbacks.h>
Public Types | |
using | Base = UnaryMemFunT< Job, Argument1, Argument1 & > |
typedef void(Job::* | Method) (Argument1 &) |
typedef Job | DestClass |
typedef CbcPointer< Job > | JobPointer |
using | Answer = Argument1 |
Public Member Functions | |
UnaryJobCallbackDialer (const CbcPointer< Job > &aJob, typename Base::Method aMethod) | |
Argument1 & | answer () final |
callback results setter More... | |
void | print (std::ostream &os) const override |
virtual bool | canDial (AsyncCall &call) |
void | dial (AsyncCall &call) |
Public Attributes | |
Method | method |
Argument1 | arg1 |
JobPointer | job |
Protected Member Functions | |
void | doDial () override |
Detailed Description
CallDialer for single-parameter callback methods of AsyncJob classes.
- See also
- UnaryCbcCallbackDialer and UnaryFunCallbackDialer.
Definition at line 134 of file AsyncCallbacks.h.
Member Typedef Documentation
◆ Answer
|
inherited |
Definition at line 21 of file AsyncCallbacks.h.
◆ Base
using UnaryJobCallbackDialer< Job, Argument1 >::Base = UnaryMemFunT<Job, Argument1, Argument1&> |
Definition at line 139 of file AsyncCallbacks.h.
◆ DestClass
Definition at line 28 of file AsyncJobCalls.h.
◆ JobPointer
|
inherited |
Definition at line 29 of file AsyncJobCalls.h.
◆ Method
|
inherited |
Definition at line 110 of file AsyncJobCalls.h.
Constructor & Destructor Documentation
◆ UnaryJobCallbackDialer()
|
inline |
Definition at line 141 of file AsyncCallbacks.h.
Member Function Documentation
◆ answer()
|
inlinefinalvirtual |
Implements WithAnswer< Argument1 >.
Definition at line 145 of file AsyncCallbacks.h.
References UnaryMemFunT< Job, Argument1, Argument1 & >::arg1.
◆ canDial()
Reimplemented in CommCbMemFunT< C, Params_ >, BodyProducerDialer, and BodyConsumerDialer.
Definition at line 160 of file AsyncJobCalls.h.
References AsyncCall::cancel().
Referenced by CommCbMemFunT< C, Params_ >::canDial().
◆ dial()
Definition at line 170 of file AsyncJobCalls.h.
References DBG_CRITICAL, debugs, AsyncCall::debugSection, and AsyncCall::name.
◆ doDial()
|
inlineoverrideprotectedvirtualinherited |
Implements JobDialer< Job >.
Definition at line 122 of file AsyncJobCalls.h.
◆ print()
|
inlineoverridevirtualinherited |
Implements CallDialer.
Definition at line 115 of file AsyncJobCalls.h.
Member Data Documentation
◆ arg1
|
inherited |
Definition at line 119 of file AsyncJobCalls.h.
◆ job
|
inherited |
Definition at line 37 of file AsyncJobCalls.h.
Referenced by NullaryMemFunT< Job >::doDial(), and UnaryMemFunT< Job, Data, Argument1 >::doDial().
◆ method
|
inherited |
Definition at line 118 of file AsyncJobCalls.h.
The documentation for this class was generated from the following file:
- src/base/AsyncCallbacks.h