ChimeraTK-DeviceAccess
03.25.00
Loading...
Searching...
No Matches
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
<user_type 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 */
CopyRegisterDecorator.h
NDRegisterAccessor.h
INSTANTIATE_TEMPLATE_FOR_CHIMERATK_USER_TYPES
#define INSTANTIATE_TEMPLATE_FOR_CHIMERATK_USER_TYPES(TemplateClass)
Definition
SupportedUserTypes.h:509
ChimeraTK::NDRegisterAccessor
N-dimensional register accessor.
Definition
NDRegisterAccessor.h:21
ChimeraTK::NDRegisterAccessor::makeCopyRegisterDecorator
boost::shared_ptr< TransferElement > makeCopyRegisterDecorator() override
Create a CopyRegisterDecorator of the right type decorating this TransferElement.
Definition
NDRegisterAccessor.cc:11
ChimeraTK
Definition
DummyBackend.h:16
sources
ChimeraTK-DeviceAccess
src
NDRegisterAccessor.cc
Generated by
1.9.8