11 #ifndef ROOT_RJITTEDACTION
12 #define ROOT_RJITTEDACTION
27 namespace GraphDrawing {
31 class RJittedAction :
public RActionBase {
33 std::unique_ptr<RActionBase> fConcreteAction;
36 RJittedAction(RLoopManager &lm);
37 ~RJittedAction() { fLoopManager->Deregister(
this); }
39 void SetAction(std::unique_ptr<RActionBase> a) { fConcreteAction = std::move(a); }
41 void Run(
unsigned int slot, Long64_t entry)
final;
42 void Initialize() final;
43 void InitSlot(TTreeReader *r,
unsigned int slot) final;
44 void TriggerChildrenCount() final;
45 void FinalizeSlot(
unsigned int) final;
46 void Finalize() final;
47 void *PartialUpdate(
unsigned int slot) final;
48 bool HasRun() const final;
49 void SetHasRun() final;
50 void ClearValueReaders(
unsigned int slot) final;
52 std::shared_ptr<GraphDrawing::GraphNode> GetGraph();
59 #endif // ROOT_RJITTEDACTION