GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/smt/listeners.h Lines: 1 1 100.0 %
Date: 2021-11-07 Branches: 0 0 0.0 %

Line Exec Source
1
/******************************************************************************
2
 * Top contributors (to current version):
3
 *   Andrew Reynolds, Abdalrhman Mohamed, Mathias Preiner
4
 *
5
 * This file is part of the cvc5 project.
6
 *
7
 * Copyright (c) 2009-2021 by the authors listed in the file AUTHORS
8
 * in the top-level source directory and their institutional affiliations.
9
 * All rights reserved.  See the file COPYING in the top-level source
10
 * directory for licensing information.
11
 * ****************************************************************************
12
 *
13
 * Listener classes for SMT engine.
14
 */
15
16
#include "cvc5_private.h"
17
18
#ifndef CVC5__SMT__LISTENERS_H
19
#define CVC5__SMT__LISTENERS_H
20
21
#include <vector>
22
23
#include "base/listener.h"
24
#include "expr/node.h"
25
26
namespace cvc5 {
27
28
class OutputManager;
29
class SolverEngine;
30
31
namespace smt {
32
33
/** A listener for resource outs */
34
31768
class ResourceOutListener : public Listener
35
{
36
 public:
37
  ResourceOutListener(SolverEngine& smt);
38
  /** notify method, interupts SolverEngine */
39
  void notify() override;
40
41
 private:
42
  /** Reference to the SolverEngine */
43
  SolverEngine& d_slv;
44
};
45
46
}  // namespace smt
47
}  // namespace cvc5
48
49
#endif