ChimeraTK-DeviceAccess
03.18.00
RebotProtocolImplementor.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
5
#include <cstddef>
6
#include <cstdint>
7
8
namespace
ChimeraTK
{
9
14
struct
RebotProtocolImplementor
{
15
virtual
void
read
(uint32_t addressInBytes, int32_t* data,
size_t
sizeInBytes) = 0;
16
virtual
void
write
(uint32_t addressInBytes, int32_t
const
* data,
size_t
sizeInBytes) = 0;
17
virtual
void
sendHeartbeat
() = 0;
18
virtual
~RebotProtocolImplementor
(){};
19
};
20
21
}
// namespace ChimeraTK
ChimeraTK::RebotProtocolImplementor::write
virtual void write(uint32_t addressInBytes, int32_t const *data, size_t sizeInBytes)=0
ChimeraTK::RebotProtocolImplementor::sendHeartbeat
virtual void sendHeartbeat()=0
ChimeraTK::RebotProtocolImplementor::read
virtual void read(uint32_t addressInBytes, int32_t *data, size_t sizeInBytes)=0
ChimeraTK::RebotProtocolImplementor
This is the base class of the code which implements the ReboT protocol.
Definition:
RebotProtocolImplementor.h:14
ChimeraTK
Definition:
DummyBackend.h:16
ChimeraTK::RebotProtocolImplementor::~RebotProtocolImplementor
virtual ~RebotProtocolImplementor()
Definition:
RebotProtocolImplementor.h:18
sources
ChimeraTK-DeviceAccess
backends
Rebot
src
RebotProtocolImplementor.h
Generated by
1.8.17