ATLAS Offline Software
Loading...
Searching...
No Matches
WorkFactory.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRIGACCELEVENT_WORKFACTORY_H
6#define TRIGACCELEVENT_WORKFACTORY_H
7
8#include <iostream>
9#include <vector>
10#include <memory>
11
12#include "Work.h"
13
14namespace TrigAccel {
15
17 public:
19 virtual ~WorkFactory(){};
20 virtual bool configure() = 0;
21 virtual Work* createWork(int, std::shared_ptr<OffloadBuffer> data) = 0;
22 virtual const std::vector<int> getProvidedAlgs() = 0;
23 virtual int getFactoryId() = 0;
24 };
25
26}
27
28#endif
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
virtual Work * createWork(int, std::shared_ptr< OffloadBuffer > data)=0
virtual bool configure()=0
virtual const std::vector< int > getProvidedAlgs()=0
virtual int getFactoryId()=0