ChimeraTK-DeviceAccess 03.25.00
Loading...
Searching...
No Matches
DummyMuxedInterruptDistributor.h
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#pragma once
4#include "../NDRegisterAccessor.h"
5#include "../RegisterPath.h"
7
8namespace ChimeraTK::async {
9
11 public:
13 boost::shared_ptr<SubDomain<std::nullptr_t>> parent, RegisterPath const& module);
14 ~DummyMuxedInterruptDistributor() override = default;
15
16 void handle(VersionNumber version) override;
17
18 static std::unique_ptr<DummyMuxedInterruptDistributor> create(
19 std::string const& desrciption, boost::shared_ptr<SubDomain<std::nullptr_t>> parent);
20
21 protected:
22 boost::shared_ptr<NDRegisterAccessor<uint32_t>> _activeInterrupts;
24 };
25
26} // namespace ChimeraTK::async
Class to store a register path name.
Class for generating and holding version numbers without exposing a numeric representation.
void handle(VersionNumber version) override
The interrupt handling functions implements the handshake with the interrupt controller.
boost::shared_ptr< NDRegisterAccessor< uint32_t > > _activeInterrupts
static std::unique_ptr< DummyMuxedInterruptDistributor > create(std::string const &desrciption, boost::shared_ptr< SubDomain< std::nullptr_t > > parent)
Interface base class for interrupt controller handlers.
Send backend-specific asynchronous data to different distributors:
Definition SubDomain.h:33