| The Gaudi Framework v32r1 (f65d50dc)

IPrecedenceSvc.h
Go to the documentation of this file.
1 #ifndef GAUDIHIVE_IPRECEDENCESVC_H_
2 #define GAUDIHIVE_IPRECEDENCESVC_H_
3
4 #include "GaudiKernel/IInterface.h"
5
6 #include <string>
7
8 struct EventSlot;
9 struct Cause;
10
11 //-----------------------------------------------------------------------------
12
21 //-----------------------------------------------------------------------------
22
23 class GAUDI_API IPrecedenceSvc : virtual public IInterface {
24
25 public:
27 DeclareInterfaceID( IPrecedenceSvc, 1, 0 );
28
30 virtual StatusCode iterate( EventSlot&, const Cause& ) = 0;
31
33 virtual StatusCode simulate( EventSlot& ) const = 0;
34
36 virtual bool CFRulesResolved( EventSlot& ) const = 0;
37
39 virtual uint getPriority( const std::string& ) const = 0;
40
42 virtual bool isBlocking( const std::string& ) const = 0;
43
45 virtual void dumpControlFlow() const = 0;
46 virtual void dumpDataFlow() const = 0;
47 virtual const std::string printState( EventSlot& ) const = 0;
48
50 virtual void dumpPrecedenceRules( EventSlot& ) = 0;
52 virtual void dumpPrecedenceTrace( EventSlot& ) = 0;
53 };
54
55 #endif /* GAUDIHIVE_IPRECEDENCESVC_H_ */
EventSlot
Class representing an event slot.
Definition: EventSlot.h:14
IPrecedenceSvc
Abstract interface for a service that manages tasks' precedence.
Definition: IPrecedenceSvc.h:23
std::string
STL class.
Cause
Definition: PrecedenceRulesGraph.h:387
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
IInterface
Definition of the basic interface.
Definition: IInterface.h:244
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:13
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:71
IInterface.h