Skip to content
Snippets Groups Projects
Commit 1d7260d6 authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

fix testTestFacility2

parent 5f5ada9d
No related branches found
No related tags found
No related merge requests found
......@@ -14,11 +14,11 @@ namespace ctk = ChimeraTK;
struct MyModule : public ctk::ApplicationModule {
using ctk::ApplicationModule::ApplicationModule;
ctk::ScalarPushInput<double> input{this, "input", "", ""};
ctk::ScalarOutput<double> output{this, "output", "", ""};
ctk::ScalarPushInput<double> input{this, "/input", "", ""};
ctk::ScalarOutput<double> output{this, "/output", "", ""};
void mainLoop() override {
std::cout << "startin main loop" << std::endl;
std::cout << "starting main loop" << std::endl;
output = 2 * double(input);
output.write();
......@@ -36,10 +36,8 @@ struct TestApp : public ctk::Application {
TestApp() : Application("TestApp") {}
~TestApp() override { shutdown(); }
// ctk::ControlSystemModule cs;
MyModule myModule{this, "MyModule", ""};
// void defineConnections() override { myModule.connectTo(cs); }
};
/**********************************************************************************************************************/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment