ChimeraTK-DeviceAccess  03.18.00
DummyProtocol0.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 
6 
7 namespace ChimeraTK {
8 
9  class RebotDummySession;
10 
14 
15  virtual void singleWordWrite(std::vector<uint32_t>& buffer) override;
16  virtual void multiWordRead(std::vector<uint32_t>& buffer) override;
17  virtual uint32_t multiWordWrite(std::vector<uint32_t>& buffer) override;
18  virtual uint32_t continueMultiWordWrite(std::vector<uint32_t>& buffer) override;
19 
20  virtual void hello(std::vector<uint32_t>& buffer) override;
21  virtual void ping(std::vector<uint32_t>& buffer) override;
22 
23  uint32_t protocolVersion() const override { return 0; }
24 
26  };
27 
28 } // namespace ChimeraTK
ChimeraTK::DummyProtocol0::DummyProtocol0
DummyProtocol0(RebotDummySession &parent)
Definition: DummyProtocol0.cc:10
ChimeraTK::RebotDummySession
Definition: RebotDummyServer.h:24
ChimeraTK::DummyProtocol0::_parent
RebotDummySession & _parent
Definition: DummyProtocol0.h:25
ChimeraTK::DummyProtocol0::multiWordRead
virtual void multiWordRead(std::vector< uint32_t > &buffer) override
Definition: DummyProtocol0.cc:19
ChimeraTK::DummyProtocol0
Only put commands which don't exist in all versions, or behave differently.
Definition: DummyProtocol0.h:12
ChimeraTK::DummyProtocol0::hello
virtual void hello(std::vector< uint32_t > &buffer) override
Definition: DummyProtocol0.cc:40
ChimeraTK::DummyProtocol0::singleWordWrite
virtual void singleWordWrite(std::vector< uint32_t > &buffer) override
Definition: DummyProtocol0.cc:12
DummyProtocolImplementor.h
DummyProtocolImplementor
Only put commands which don't exist in all versions, or behave differently.
Definition: DummyProtocolImplementor.h:9
ChimeraTK::DummyProtocol0::protocolVersion
uint32_t protocolVersion() const override
implement this for EVERY protocol version
Definition: DummyProtocol0.h:23
ChimeraTK::DummyProtocol0::continueMultiWordWrite
virtual uint32_t continueMultiWordWrite(std::vector< uint32_t > &buffer) override
Definition: DummyProtocol0.cc:35
ChimeraTK::DummyProtocol0::multiWordWrite
virtual uint32_t multiWordWrite(std::vector< uint32_t > &buffer) override
Definition: DummyProtocol0.cc:30
ChimeraTK::DummyProtocol0::ping
virtual void ping(std::vector< uint32_t > &buffer) override
Definition: DummyProtocol0.cc:44
ChimeraTK
Definition: DummyBackend.h:16