ChimeraTK-DeviceAccess  03.18.00
helperFunctions.h File Reference
+ Include dependency graph for helperFunctions.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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")
 
std::string appendNumberToName (std::string name, int cardNumber)
 
bool compareDeviceInfos (const ChimeraTK::DeviceInfoMap::DeviceInfo &deviceInfo1, const ChimeraTK::DeviceInfoMap::DeviceInfo &deviceInfo2)
 

Function Documentation

◆ appendNumberToName()

std::string appendNumberToName ( std::string  name,
int  cardNumber 
)

Definition at line 22 of file helperFunctions.cc.

◆ compareDeviceInfos()

bool compareDeviceInfos ( const ChimeraTK::DeviceInfoMap::DeviceInfo deviceInfo1,
const ChimeraTK::DeviceInfoMap::DeviceInfo deviceInfo2 
)

Definition at line 28 of file helperFunctions.cc.

+ Here is the caller graph for this function:

◆ populateDummyDeviceInfo()

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" 
)

Definition at line 8 of file helperFunctions.cc.

+ Here is the caller graph for this function: