HeterogeneousCore
SonicCore
interface
SonicDispatcher.h
Go to the documentation of this file.
1
#ifndef HeterogeneousCore_SonicCore_SonicDispatcher
2
#define HeterogeneousCore_SonicCore_SonicDispatcher
3
4
#include "
FWCore/Concurrency/interface/WaitingTaskWithArenaHolder.h
"
5
6
class
SonicClientBase
;
7
8
class
SonicDispatcher
{
9
public
:
10
//constructor
11
SonicDispatcher
(
SonicClientBase
*
client
) :
client_
(
client
) {}
12
13
//destructor
14
virtual
~SonicDispatcher
() =
default
;
15
16
//main operation
17
virtual
void
dispatch
(
edm::WaitingTaskWithArenaHolder
holder);
18
19
//alternate operation when ExternalWork is not used
20
virtual
void
dispatch
();
21
22
protected
:
23
SonicClientBase
*
client_
;
24
};
25
26
#endif
SonicDispatcher::SonicDispatcher
SonicDispatcher(SonicClientBase *client)
Definition:
SonicDispatcher.h:11
HLTObjectMonitor_Client_cff.client
client
Definition:
HLTObjectMonitor_Client_cff.py:6
SonicClientBase
Definition:
SonicClientBase.h:18
edm::WaitingTaskWithArenaHolder
Definition:
WaitingTaskWithArenaHolder.h:34
SonicDispatcher::~SonicDispatcher
virtual ~SonicDispatcher()=default
SonicDispatcher::dispatch
virtual void dispatch()
Definition:
SonicDispatcher.cc:9
SonicDispatcher
Definition:
SonicDispatcher.h:8
WaitingTaskWithArenaHolder.h
SonicDispatcher::client_
SonicClientBase * client_
Definition:
SonicDispatcher.h:23
Generated for CMSSW Reference Manual by
1.8.14