ChimeraTK-DeviceAccess  03.18.00
ChimeraTK::RebotProtocol0 Struct Reference

#include <RebotProtocol0.h>

+ Inheritance diagram for ChimeraTK::RebotProtocol0:
+ Collaboration diagram for ChimeraTK::RebotProtocol0:

Classes

struct  RegisterInfo
 

Public Member Functions

 RebotProtocol0 (boost::shared_ptr< Rebot::Connection > &tcpCommunicator)
 
virtual ~RebotProtocol0 ()
 
virtual void read (uint32_t addressInBytes, int32_t *data, size_t sizeInBytes) override
 
virtual void write (uint32_t addressInBytes, int32_t const *data, size_t sizeInBytes) override
 
virtual void sendHeartbeat () override
 
void fetchFromRebotServer (uint32_t wordAddress, uint32_t numberOfWords, int32_t *dataLocation) const
 
void sendRebotReadRequest (const uint32_t wordAddress, const uint32_t wordsToRead) const
 
- Public Member Functions inherited from ChimeraTK::RebotProtocolImplementor
virtual ~RebotProtocolImplementor ()
 

Static Public Member Functions

static void transferVectorToDataPtr (const std::vector< uint32_t > &source, int32_t *destination)
 

Public Attributes

boost::shared_ptr< Rebot::Connection_tcpCommunicator
 

Detailed Description

Definition at line 16 of file RebotProtocol0.h.

Constructor & Destructor Documentation

◆ RebotProtocol0()

ChimeraTK::RebotProtocol0::RebotProtocol0 ( boost::shared_ptr< Rebot::Connection > &  tcpCommunicator)
explicit

Definition at line 15 of file RebotProtocol0.cc.

◆ ~RebotProtocol0()

virtual ChimeraTK::RebotProtocol0::~RebotProtocol0 ( )
inlinevirtual

Definition at line 18 of file RebotProtocol0.h.

Member Function Documentation

◆ fetchFromRebotServer()

void ChimeraTK::RebotProtocol0::fetchFromRebotServer ( uint32_t  wordAddress,
uint32_t  numberOfWords,
int32_t *  dataLocation 
) const

Definition at line 66 of file RebotProtocol0.cc.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ read()

void ChimeraTK::RebotProtocol0::read ( uint32_t  addressInBytes,
int32_t *  data,
size_t  sizeInBytes 
)
overridevirtual

Implements ChimeraTK::RebotProtocolImplementor.

Reimplemented in ChimeraTK::RebotProtocol1.

Definition at line 30 of file RebotProtocol0.cc.

◆ sendHeartbeat()

void ChimeraTK::RebotProtocol0::sendHeartbeat ( )
overridevirtual

Implements ChimeraTK::RebotProtocolImplementor.

Reimplemented in ChimeraTK::RebotProtocol1.

Definition at line 102 of file RebotProtocol0.cc.

◆ sendRebotReadRequest()

void ChimeraTK::RebotProtocol0::sendRebotReadRequest ( const uint32_t  wordAddress,
const uint32_t  wordsToRead 
) const

Definition at line 83 of file RebotProtocol0.cc.

+ Here is the caller graph for this function:

◆ transferVectorToDataPtr()

void ChimeraTK::RebotProtocol0::transferVectorToDataPtr ( const std::vector< uint32_t > &  source,
int32_t *  destination 
)
static

Definition at line 93 of file RebotProtocol0.cc.

+ Here is the caller graph for this function:

◆ write()

void ChimeraTK::RebotProtocol0::write ( uint32_t  addressInBytes,
int32_t const *  data,
size_t  sizeInBytes 
)
overridevirtual

Implements ChimeraTK::RebotProtocolImplementor.

Reimplemented in ChimeraTK::RebotProtocol1.

Definition at line 52 of file RebotProtocol0.cc.

Member Data Documentation

◆ _tcpCommunicator

boost::shared_ptr<Rebot::Connection> ChimeraTK::RebotProtocol0::_tcpCommunicator

Definition at line 33 of file RebotProtocol0.h.


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