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 ()
 
virtual void dispatch (edm::WaitingTaskWithArenaHolder holder)
 
 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.

11 : client_(client) {}

◆ ~SonicDispatcher()

virtual SonicDispatcher::~SonicDispatcher ( )
virtualdefault

Member Function Documentation

◆ dispatch() [1/2]

void SonicDispatcher::dispatch ( )
virtual

Definition at line 9 of file SonicDispatcher.cc.

9  {
10  client_->start();
11  client_->evaluate();
12 }

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

◆ dispatch() [2/2]

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

Reimplemented in SonicDispatcherPseudoAsync.

Definition at line 4 of file SonicDispatcher.cc.

4  {
5  client_->start(std::move(holder));
6  client_->evaluate();
7 }

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

Member Data Documentation

◆ client_

SonicClientBase* SonicDispatcher::client_
protected
SonicDispatcher::client_
SonicClientBase * client_
Definition: SonicDispatcher.h:23
HLTObjectMonitor_Client_cff.client
client
Definition: HLTObjectMonitor_Client_cff.py:6
SonicClientBase::start
void start(edm::WaitingTaskWithArenaHolder holder)
Definition: SonicClientBase.cc:38
SonicClientBase::evaluate
virtual void evaluate()=0
eostools.move
def move(src, dest)
Definition: eostools.py:511