ChimeraTK-DeviceAccess  03.18.00
ChimeraTK::DummyProtocol1 Struct Reference

Only put commands which don't exist in all versions, or behave differently. More...

#include <DummyProtocol1.h>

+ Inheritance diagram for ChimeraTK::DummyProtocol1:
+ Collaboration diagram for ChimeraTK::DummyProtocol1:

Public Member Functions

 DummyProtocol1 (RebotDummySession &parent)
 
void multiWordRead (std::vector< uint32_t > &buffer) override
 The multi word read is not limited in the size any more. More...
 
uint32_t multiWordWrite (std::vector< uint32_t > &buffer) override
 First protocol version that implements hello. More...
 
uint32_t continueMultiWordWrite (std::vector< uint32_t > &buffer) override
 
void hello (std::vector< uint32_t > &buffer) override
 First protocol version that implements hello. More...
 
uint32_t protocolVersion () const override
 implement this for EVERY protocol version More...
 
- Public Member Functions inherited from ChimeraTK::DummyProtocol0
 DummyProtocol0 (RebotDummySession &parent)
 
virtual void singleWordWrite (std::vector< uint32_t > &buffer) override
 
virtual void ping (std::vector< uint32_t > &buffer) override
 
- Public Member Functions inherited from DummyProtocolImplementor
virtual ~DummyProtocolImplementor ()=default
 

Public Attributes

uint32_t _nextAddressInWords
 
uint32_t _nWordsLeft
 
- Public Attributes inherited from ChimeraTK::DummyProtocol0
RebotDummySession_parent
 

Static Public Attributes

static const uint64_t BAR = 0
 

Detailed Description

Only put commands which don't exist in all versions, or behave differently.

Definition at line 12 of file DummyProtocol1.h.

Constructor & Destructor Documentation

◆ DummyProtocol1()

ChimeraTK::DummyProtocol1::DummyProtocol1 ( RebotDummySession parent)

Definition at line 12 of file DummyProtocol1.cc.

Member Function Documentation

◆ continueMultiWordWrite()

uint32_t ChimeraTK::DummyProtocol1::continueMultiWordWrite ( std::vector< uint32_t > &  buffer)
overridevirtual

Reimplemented from ChimeraTK::DummyProtocol0.

Definition at line 49 of file DummyProtocol1.cc.

+ Here is the call graph for this function:

◆ hello()

void ChimeraTK::DummyProtocol1::hello ( std::vector< uint32_t > &  buffer)
overridevirtual

First protocol version that implements hello.

Reimplemented from ChimeraTK::DummyProtocol0.

Definition at line 19 of file DummyProtocol1.cc.

+ Here is the call graph for this function:

◆ multiWordRead()

void ChimeraTK::DummyProtocol1::multiWordRead ( std::vector< uint32_t > &  buffer)
overridevirtual

The multi word read is not limited in the size any more.

Reimplemented from ChimeraTK::DummyProtocol0.

Definition at line 15 of file DummyProtocol1.cc.

+ Here is the call graph for this function:

◆ multiWordWrite()

uint32_t ChimeraTK::DummyProtocol1::multiWordWrite ( std::vector< uint32_t > &  buffer)
overridevirtual

First protocol version that implements hello.

Reimplemented from ChimeraTK::DummyProtocol0.

Definition at line 26 of file DummyProtocol1.cc.

+ Here is the call graph for this function:

◆ protocolVersion()

uint32_t ChimeraTK::DummyProtocol1::protocolVersion ( ) const
inlineoverridevirtual

implement this for EVERY protocol version

Reimplemented from ChimeraTK::DummyProtocol0.

Definition at line 25 of file DummyProtocol1.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ _nextAddressInWords

uint32_t ChimeraTK::DummyProtocol1::_nextAddressInWords

Definition at line 28 of file DummyProtocol1.h.

◆ _nWordsLeft

uint32_t ChimeraTK::DummyProtocol1::_nWordsLeft

Definition at line 29 of file DummyProtocol1.h.

◆ BAR

const uint64_t ChimeraTK::DummyProtocol1::BAR = 0
static

Definition at line 31 of file DummyProtocol1.h.


The documentation for this struct was generated from the following files: