CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
SonicDispatcher Class Reference

#include <SonicDispatcher.h>

Inheritance diagram for SonicDispatcher:
SonicDispatcherPseudoAsync

Public Member Functions

virtual void dispatch (edm::WaitingTaskWithArenaHolder holder)
 
virtual void dispatch ()
 
 SonicDispatcher (SonicClientBase *client)
 
virtual ~SonicDispatcher ()=default
 

Protected Attributes

SonicClientBaseclient_
 

Detailed Description

Definition at line 8 of file SonicDispatcher.h.

Constructor & Destructor Documentation

◆ SonicDispatcher()

SonicDispatcher::SonicDispatcher ( SonicClientBase client)
inline

Definition at line 11 of file SonicDispatcher.h.

◆ ~SonicDispatcher()

virtual SonicDispatcher::~SonicDispatcher ( )
virtualdefault

Member Function Documentation

◆ dispatch() [1/2]

void SonicDispatcher::dispatch ( edm::WaitingTaskWithArenaHolder  holder)
virtual

Reimplemented in SonicDispatcherPseudoAsync.

Definition at line 4 of file SonicDispatcher.cc.

References client_, SonicClientBase::evaluate(), eostools::move(), and SonicClientBase::start().

4  {
5  client_->start(std::move(holder));
6  client_->evaluate();
7 }
virtual void evaluate()=0
void start(edm::WaitingTaskWithArenaHolder holder)
def move(src, dest)
Definition: eostools.py:511
SonicClientBase * client_

◆ dispatch() [2/2]

void SonicDispatcher::dispatch ( )
virtual

Definition at line 9 of file SonicDispatcher.cc.

References client_, SonicClientBase::evaluate(), and SonicClientBase::start().

9  {
10  client_->start();
11  client_->evaluate();
12 }
virtual void evaluate()=0
void start(edm::WaitingTaskWithArenaHolder holder)
SonicClientBase * client_

Member Data Documentation

◆ client_

SonicClientBase* SonicDispatcher::client_
protected