ChimeraTK-DeviceAccess 03.25.00
Loading...
Searching...
No Matches
helperFunctions.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Deutsches Elektronen-Synchrotron DESY, MSK, ChimeraTK Project <chimeratk-support@desy.de>
2// SPDX-License-Identifier: LGPL-3.0-or-later
3#pragma once
4
5#include "DeviceInfoMap.h"
6
7void populateDummyDeviceInfo(ChimeraTK::DeviceInfoMap::DeviceInfo& deviceInfo, std::string dmapFileName,
8 std::string deviceName = "card", std::string dev_file = "/dev/dummy_device_identifier",
9 std::string map_file_name = "/dev/dummy_map_file");
10
11std::string appendNumberToName(std::string name, int cardNumber);
12
Stores information about one device.
std::string appendNumberToName(std::string name, int cardNumber)
bool compareDeviceInfos(const ChimeraTK::DeviceInfoMap::DeviceInfo &deviceInfo1, const ChimeraTK::DeviceInfoMap::DeviceInfo &deviceInfo2)
void populateDummyDeviceInfo(ChimeraTK::DeviceInfoMap::DeviceInfo &deviceInfo, std::string dmapFileName, std::string deviceName="card", std::string dev_file="/dev/dummy_device_identifier", std::string map_file_name="/dev/dummy_map_file")