Zane Shelley | a61f4c5 | 2019-08-01 13:58:49 -0500 | [diff] [blame] | 1 | #pragma once |
| 2 | |
Zane Shelley | 5a26661 | 2019-08-15 16:23:53 -0500 | [diff] [blame] | 3 | #include <hei_includes.hpp> |
Zane Shelley | a61f4c5 | 2019-08-01 13:58:49 -0500 | [diff] [blame] | 4 | |
| 5 | namespace libhei |
| 6 | { |
| 7 | |
| 8 | /** |
Zane Shelley | b406de4 | 2019-09-09 16:10:38 -0500 | [diff] [blame] | 9 | * @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 Shelley | a61f4c5 | 2019-08-01 13:58:49 -0500 | [diff] [blame] | 13 | */ |
| 14 | class IsolationData |
| 15 | { |
| 16 | public: |
| 17 | |
Zane Shelley | b406de4 | 2019-09-09 16:10:38 -0500 | [diff] [blame] | 18 | /** @brief Default constructor. */ |
| 19 | IsolationData() = default; |
Zane Shelley | 5a26661 | 2019-08-15 16:23:53 -0500 | [diff] [blame] | 20 | |
| 21 | /** @brief Destructor. */ |
| 22 | ~IsolationData() = default; |
Zane Shelley | a61f4c5 | 2019-08-01 13:58:49 -0500 | [diff] [blame] | 23 | |
| 24 | /** @brief Copy constructor. */ |
| 25 | IsolationData( const IsolationData & ) = default; |
| 26 | |
| 27 | /** @brief Assignment operator. */ |
| 28 | IsolationData & operator=( const IsolationData & ) = default; |
| 29 | |
Zane Shelley | 5a26661 | 2019-08-15 16:23:53 -0500 | [diff] [blame] | 30 | /** @brief Flushes the data to ensure a clean slate for next isolation. */ |
| 31 | void clear() {} |
Zane Shelley | a61f4c5 | 2019-08-01 13:58:49 -0500 | [diff] [blame] | 32 | |
| 33 | private: |
| 34 | |
Zane Shelley | 5a26661 | 2019-08-15 16:23:53 -0500 | [diff] [blame] | 35 | // TODO: add error signature list and register dump. |
| 36 | |
Zane Shelley | a61f4c5 | 2019-08-01 13:58:49 -0500 | [diff] [blame] | 37 | }; // end class IsolationData |
| 38 | |
| 39 | } // end namespace libhei |
| 40 | |