CMS 3D CMS Logo

List of all members | Public Member Functions
SonicClientAsync< InputT, OutputT > Class Template Reference

#include <SonicClientAsync.h>

Inheritance diagram for SonicClientAsync< InputT, OutputT >:
SonicClientBase SonicClientTypes< InputT, OutputT >

Public Member Functions

void dispatch (edm::WaitingTaskWithArenaHolder holder) final
 
- Public Member Functions inherited from SonicClientBase
const std::string & debugName () const
 
void setDebugName (const std::string &debugName)
 
 SonicClientBase ()
 
virtual ~SonicClientBase ()=default
 
- Public Member Functions inherited from SonicClientTypes< InputT, OutputT >
Inputinput ()
 
const Outputoutput () const
 
virtual ~SonicClientTypes ()=default
 

Additional Inherited Members

- Public Types inherited from SonicClientTypes< InputT, OutputT >
typedef InputT Input
 
typedef OutputT Output
 
- Protected Member Functions inherited from SonicClientBase
virtual unsigned allowedTries () const
 
virtual void evaluate ()=0
 
void finish (bool success, std::exception_ptr eptr=std::exception_ptr{})
 
void setStartTime ()
 
- Protected Attributes inherited from SonicClientBase
std::string debugName_
 
edm::WaitingTaskWithArenaHolder holder_
 
std::chrono::time_point< std::chrono::high_resolution_clock > t0_
 
unsigned tries_
 
- Protected Attributes inherited from SonicClientTypes< InputT, OutputT >
Input input_
 
Output output_
 

Detailed Description

template<typename InputT, typename OutputT = InputT>
class SonicClientAsync< InputT, OutputT >

Definition at line 10 of file SonicClientAsync.h.

Member Function Documentation

◆ dispatch()

template<typename InputT , typename OutputT = InputT>
void SonicClientAsync< InputT, OutputT >::dispatch ( edm::WaitingTaskWithArenaHolder  holder)
inlinefinalvirtual

Implements SonicClientBase.

Definition at line 13 of file SonicClientAsync.h.

13  {
14  holder_ = std::move(holder);
15  setStartTime();
16  evaluate();
17  }

References SonicClientBase::evaluate(), SonicClientBase::holder_, eostools::move(), and SonicClientBase::setStartTime().

SonicClientBase::holder_
edm::WaitingTaskWithArenaHolder holder_
Definition: SonicClientBase.h:65
SonicClientBase::evaluate
virtual void evaluate()=0
SonicClientBase::setStartTime
void setStartTime()
Definition: SonicClientBase.h:31
eostools.move
def move(src, dest)
Definition: eostools.py:511