added .cpp licenses

This commit is contained in:
2021-10-15 15:47:04 +02:00
parent 4de7bb51ed
commit dac60ad76d
132 changed files with 319 additions and 11 deletions

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-other
// Copyright (C) 2021 Contributors to the SLS Detector Package
#include <sls/Detector.h>
#include <chrono>

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-other
// Copyright (C) 2021 Contributors to the SLS Detector Package
#include <chrono>
#include <iostream>
#include <string>

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-other
// Copyright (C) 2021 Contributors to the SLS Detector Package
#include "sls/UdpRxSocket.h"
#include "sls/sls_detector_defs.h"
#include <chrono>

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-other
// Copyright (C) 2021 Contributors to the SLS Detector Package
/** Examples on how to use Result<T> */
#include "sls/Result.h"

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-other
// Copyright (C) 2021 Contributors to the SLS Detector Package
#include "sls/logger.h"
#include <iostream>
#include <chrono>
@ -7,7 +9,8 @@ int main() {
std::cout << "Compare output between old and new:\n";
LOG(logINFO) << "Some info message";
LOG(logERROR) << "This is an error";
LOG(logWARNING) << "While this is only a warning";
LOG(logWARNING) << "While this is only a warning"; prefix="/afs/psi.ch/project/sls_det_software/dhanya_softwareDevelopment/mySoft/slsDetectorPackage/"
p=${file#"$prefix"}
//Logging level can be configure at runtime
std::cout << "\n\n";