blob: 0117ce58ee408bb50703a68840759cdea022c545 [file] [log] [blame]
Zane Shelleya61f4c52019-08-01 13:58:49 -05001#pragma once
2
Zane Shelley5a266612019-08-15 16:23:53 -05003#include <hei_includes.hpp>
Zane Shelleya61f4c52019-08-01 13:58:49 -05004
5namespace libhei
6{
7
8/**
Zane Shelleyb406de42019-09-09 16:10:38 -05009 * @brief The main isolate() API is given a list of chips to analyze. This class
10 * will contain a list of all active hardware errors found on those
11 * chips, the contents of any registers associated with the active
12 * errors, and any other data that can be useful for debug.
Zane Shelleya61f4c52019-08-01 13:58:49 -050013 */
14class IsolationData
15{
16 public:
17
Zane Shelleyb406de42019-09-09 16:10:38 -050018 /** @brief Default constructor. */
19 IsolationData() = default;
Zane Shelley5a266612019-08-15 16:23:53 -050020
21 /** @brief Destructor. */
22 ~IsolationData() = default;
Zane Shelleya61f4c52019-08-01 13:58:49 -050023
24 /** @brief Copy constructor. */
25 IsolationData( const IsolationData & ) = default;
26
27 /** @brief Assignment operator. */
28 IsolationData & operator=( const IsolationData & ) = default;
29
Zane Shelley5a266612019-08-15 16:23:53 -050030 /** @brief Flushes the data to ensure a clean slate for next isolation. */
31 void clear() {}
Zane Shelleya61f4c52019-08-01 13:58:49 -050032
33 private:
34
Zane Shelley5a266612019-08-15 16:23:53 -050035 // TODO: add error signature list and register dump.
36
Zane Shelleya61f4c52019-08-01 13:58:49 -050037}; // end class IsolationData
38
39} // end namespace libhei
40