DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
IssueReceiver.hpp
Go to the documentation of this file.
1/*
2 * DUNE DAQ modification notice:
3 * This file has been modified from the original ATLAS ers source for the DUNE DAQ project.
4 * Fork baseline commit: 8267df82a4f6fe6bf02c4014923eba19eddc4614 (2020-04-14).
5 * Renamed since fork: yes (from ers/IssueReceiver.h to include/ers/IssueReceiver.hpp).
6 *
7 * Original copyright:
8 * Copyright (C) 2001-2020 CERN for the benefit of the ATLAS collaboration.
9 * Licensed under the Apache License, Version 2.0.
10 */
11
12/*
13 * IssueReceiver.h
14 * ers
15 *
16 * Created by Serguei Kolos on 02.08.05.
17 * Copyright 2004 CERN. All rights reserved.
18 *
19 */
20
21#ifndef ERS_ISSUE_RECEIVER_H
22#define ERS_ISSUE_RECEIVER_H
23
24#include <ers/Issue.hpp>
25
30namespace ers
31{
32 class Issue;
33
40
42 {
43 public:
45 { ; }
46
47 virtual void receive( const Issue & issue ) = 0;
48
49 protected:
50 IssueReceiver() = default;
51
52 private:
53 IssueReceiver( const IssueReceiver & ) = delete;
54 IssueReceiver & operator=( const IssueReceiver & ) = delete;
55 };
56}
57
58#endif
59
IssueReceiver()=default
virtual void receive(const Issue &issue)=0
Is called when a new issue is received.
IssueReceiver & operator=(const IssueReceiver &)=delete
IssueReceiver(const IssueReceiver &)=delete
Base class for any user define issue.
Definition Issue.hpp:80