CMS 3D CMS Logo

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

#include <SonicClientSync.h>

Inheritance diagram for SonicClientSync< 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 SonicClientSync< InputT, OutputT >

Definition at line 12 of file SonicClientSync.h.

Member Function Documentation

◆ dispatch()

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

Implements SonicClientBase.

Definition at line 15 of file SonicClientSync.h.

15  {
16  holder_ = std::move(holder);
17  setStartTime();
18 
19  evaluate();
20  }

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