mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00

This edits the headers in every file so the copyright notice mentions RWTH Aachen University. We also update some copyright years and fix various comments so the header is the same across all of VILLASframework. * Harmonize comment and code-style Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com> * Harmonize comment and code-style Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com> --------- Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
21 lines
498 B
C++
21 lines
498 B
C++
/* Global include for tests.
|
|
*
|
|
* Author: Steffen Vogel <post@steffenvogel.de>
|
|
* SPDX-FileCopyrightText: 2017 Steffen Vogel <post@steffenvogel.de>
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <cstdlib>
|
|
|
|
#include <villas/fpga/pcie_card.hpp>
|
|
|
|
class FpgaState {
|
|
public:
|
|
// List of all available FPGA cards, only first will be tested at the moment
|
|
std::list<std::shared_ptr<villas::fpga::PCIeCard>> cards;
|
|
};
|
|
|
|
// Global state to be shared by unittests
|
|
extern FpgaState state;
|