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
5
7
8namespace 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
18
19} /* namespace ChimeraTK */
#define INSTANTIATE_TEMPLATE_FOR_CHIMERATK_USER_TYPES(TemplateClass)
N-dimensional register accessor.
boost::shared_ptr< TransferElement > makeCopyRegisterDecorator() override
Create a CopyRegisterDecorator of the right type decorating this TransferElement.