The Gaudi Framework
v33r0 (d5ea422b)
IScheduler.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#ifndef GAUDIKERNEL_ISCHEDULER_H
12
#define GAUDIKERNEL_ISCHEDULER_H
13
14
// Framework include files
15
#include "
GaudiKernel/EventContext.h
"
16
#include "
GaudiKernel/IInterface.h
"
17
18
// C++ include files
19
#include <functional>
20
#include <vector>
21
30
class
GAUDI_API
IScheduler
:
virtual
public
IInterface
{
31
public
:
33
DeclareInterfaceID
(
IScheduler
, 1, 0 );
34
36
virtual
StatusCode
pushNewEvent(
EventContext
* eventContext ) = 0;
37
40
virtual
StatusCode
pushNewEvents(
std::vector<EventContext*>
& eventContexts ) = 0;
41
43
virtual
StatusCode
popFinishedEvent(
EventContext
*& eventContext ) = 0;
44
46
virtual
StatusCode
tryPopFinishedEvent(
EventContext
*& eventContext ) = 0;
47
49
virtual
unsigned
int
freeSlots() = 0;
50
51
virtual
void
dumpState
(){};
52
54
virtual
StatusCode
scheduleEventView(
const
EventContext
* sourceContext,
const
std::string
& nodeName,
55
std::unique_ptr<EventContext>
viewContext ) = 0;
56
};
57
#endif
EventContext.h
IScheduler::dumpState
virtual void dumpState()
Definition:
IScheduler.h:51
EventContext
This class represents an entry point to all the event specific data.
Definition:
EventContext.h:34
std::string
STL class.
IScheduler
General interface for algorithm scheduler.
Definition:
IScheduler.h:30
StatusCode
This class is used for returning status codes from appropriate routines.
Definition:
StatusCode.h:61
IInterface
Definition of the basic interface.
Definition:
IInterface.h:254
DeclareInterfaceID
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition:
IInterface.h:23
std::vector
STL class.
std::unique_ptr< EventContext >
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:81
IInterface.h
GaudiKernel
GaudiKernel
IScheduler.h
Generated on Mon Dec 16 2019 23:26:33 for The Gaudi Framework by
1.8.15