ChimeraTK-DeviceAccess 03.31.00
Loading...
Searching...
No Matches
DummyProtocol1.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 "DummyProtocol0.h"
6
7namespace ChimeraTK {
8
9 class RebotDummySession;
10
14
16 void multiWordRead(std::vector<uint32_t>& buffer) override;
17
19 uint32_t multiWordWrite(std::vector<uint32_t>& buffer) override;
20 uint32_t continueMultiWordWrite(std::vector<uint32_t>& buffer) override;
21
23 void hello(std::vector<uint32_t>& buffer) override;
24
25 uint32_t protocolVersion() const override { return 1; }
26
27 // part of the multi word write across many packets
29 uint32_t _nWordsLeft;
30
31 static const uint64_t BAR = 0;
32 };
33
34} // namespace ChimeraTK
This header collects some conversion routines which should be useful both for ApplicationCore Python ...
Only put commands which don't exist in all versions, or behave differently.
Only put commands which don't exist in all versions, or behave differently.
uint32_t multiWordWrite(std::vector< uint32_t > &buffer) override
First protocol version that implements hello.
uint32_t protocolVersion() const override
implement this for EVERY protocol version
static const uint64_t BAR
void multiWordRead(std::vector< uint32_t > &buffer) override
The multi word read is not limited in the size any more.
void hello(std::vector< uint32_t > &buffer) override
First protocol version that implements hello.
uint32_t continueMultiWordWrite(std::vector< uint32_t > &buffer) override