Skip to content
Snippets Groups Projects
  • Tomasz Kozak's avatar
    58916607
    Modernise example template project (#8360) · 58916607
    Tomasz Kozak authored
    	- change structure of the project, unify CMakeLists.txt, rename files.
    	- remove defineConnections overloading, use ctk::ConnectingDeviceModule instead of ctk::DeviceModule
    	- add option to pass name of application in the constructor
    Modernise example template project (#8360)
    Tomasz Kozak authored
    	- change structure of the project, unify CMakeLists.txt, rename files.
    	- remove defineConnections overloading, use ctk::ConnectingDeviceModule instead of ctk::DeviceModule
    	- add option to pass name of application in the constructor
TemplateModule.h 445 B
// SPDX-FileCopyrightText: Deutsches Elektronen-Synchrotron DESY, MSK, ChimeraTK Project <chimeratk-support@desy.de>
// SPDX-License-Identifier: LGPL-3.0-or-later
#pragma once

#include <ChimeraTK/ApplicationCore/ApplicationCore.h>

namespace ctk = ChimeraTK;

struct TemplateModule : public ctk::ApplicationModule {
  using ctk::ApplicationModule::ApplicationModule;
  /*
   * Add input/output definition
   * */
  void mainLoop() override;
};