CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 ( SonicClientBase client)
inline

Definition at line 11 of file SonicDispatcher.h.

11 : client_(client) {}
SonicClientBase * client_
virtual SonicDispatcher::~SonicDispatcher ( )
virtualdefault

Member Function Documentation

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
Definition: eostools.py:511
SonicClientBase * client_
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

SonicClientBase* SonicDispatcher::client_
protected