ChimeraTK-DeviceAccess  03.18.00
NotRegisteringPlugin.cc
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 
4 #include "BackendFactory.h"
5 #include "DeviceAccessVersion.h"
6 #include "DummyBackend.h"
7 
8 using namespace ChimeraTK;
9 
13 
14  static boost::shared_ptr<DeviceBackend> createInstance(
15  std::string /*host*/, std::string instance, std::list<std::string> parameters, std::string /*mapFileName*/) {
16  return returnInstance<NotRegisteringPlugin>(instance, convertPathRelativeToDmapToAbs(parameters.front()));
17  }
18 };
ChimeraTK::DummyBackend::DummyBackend
DummyBackend(const std::string &mapFileName)
Definition: DummyBackend.cc:17
NotRegisteringPlugin::createInstance
static boost::shared_ptr< DeviceBackend > createInstance(std::string, std::string instance, std::list< std::string > parameters, std::string)
Definition: NotRegisteringPlugin.cc:14
DummyBackend.h
BackendFactory.h
ChimeraTK::DummyBackend
The dummy device opens a mapping file instead of a device, and implements all registers defined in th...
Definition: DummyBackend.h:45
NotRegisteringPlugin
This backend does register, so loading the plugin will go wrong.
Definition: NotRegisteringPlugin.cc:11
ChimeraTK
Definition: DummyBackend.h:16