ChimeraTK-DeviceAccess
03.18.00
NDRegisterAccessor.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 "
NDRegisterAccessor.h
"
5
6
#include "
CopyRegisterDecorator.h
"
7
8
namespace
ChimeraTK
{
9
10
template
<
typename
UserType>
11
boost::shared_ptr<TransferElement>
NDRegisterAccessor<UserType>::makeCopyRegisterDecorator
() {
12
auto
casted = boost::static_pointer_cast<NDRegisterAccessor<UserType>>(enable_shared_from_this::shared_from_this());
13
return
boost::make_shared<CopyRegisterDecorator<UserType>>(casted);
14
}
15
/********************************************************************************************************************/
16
17
INSTANTIATE_TEMPLATE_FOR_CHIMERATK_USER_TYPES
(
NDRegisterAccessor
);
18
19
}
/* namespace ChimeraTK */
NDRegisterAccessor.h
ChimeraTK::NDRegisterAccessor::makeCopyRegisterDecorator
boost::shared_ptr< TransferElement > makeCopyRegisterDecorator() override
Definition:
NDRegisterAccessor.cc:11
CopyRegisterDecorator.h
ChimeraTK::INSTANTIATE_TEMPLATE_FOR_CHIMERATK_USER_TYPES
INSTANTIATE_TEMPLATE_FOR_CHIMERATK_USER_TYPES(LNMBackendBitAccessor)
ChimeraTK
Definition:
DummyBackend.h:16
ChimeraTK::NDRegisterAccessor
N-dimensional register accessor.
Definition:
ForwardDeclarations.h:17
sources
ChimeraTK-DeviceAccess
src
NDRegisterAccessor.cc
Generated by
1.8.17