RegisterReadRequest Class Reference

Brief description of class RegisterReadRequest. More...

#include <armarx/control/ethercat/bus_io/requests/RegisterReadRequest.h>

+ Inheritance diagram for RegisterReadRequest:

Public Member Functions

std::pair< EtherCATFrameList *, std::uint16_t > getFrames ()
 
 RegisterReadRequest ()=default
 
 RegisterReadRequest (EtherCATFrameList *preallocatedFrames, std::uint16_t amountFramesToRead=0)
 
 RegisterReadRequest (std::vector< RegisterDataList > *requestedRegisters)
 
void updateRequestedRegisters ()
 
- Public Member Functions inherited from RequestBase
bool hasFailed () const
 Check whether this request has been processed. More...
 
bool isProcessed () const
 Check whether this request has been processed. More...
 
void setFailed ()
 Signal that this request has failed. More...
 
void setProcessed ()
 Signal that this request has been processed. More...
 
virtual ~RequestBase ()=default
 

Public Attributes

std::vector< RegisterDataList > * requestedRegisters = nullptr
 

Detailed Description

Brief description of class RegisterReadRequest.

Detailed description of class RegisterReadRequest.

Definition at line 20 of file RegisterReadRequest.h.

Constructor & Destructor Documentation

◆ RegisterReadRequest() [1/3]

RegisterReadRequest ( )
default

◆ RegisterReadRequest() [2/3]

RegisterReadRequest ( std::vector< RegisterDataList > *  requestedRegisters)

Definition at line 12 of file RegisterReadRequest.cpp.

+ Here is the call graph for this function:

◆ RegisterReadRequest() [3/3]

RegisterReadRequest ( EtherCATFrameList preallocatedFrames,
std::uint16_t  amountFramesToRead = 0 
)

Definition at line 20 of file RegisterReadRequest.cpp.

Member Function Documentation

◆ getFrames()

std::pair< EtherCATFrameList *, std::uint16_t > getFrames ( )

Definition at line 39 of file RegisterReadRequest.cpp.

◆ updateRequestedRegisters()

void updateRequestedRegisters ( )

Definition at line 52 of file RegisterReadRequest.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ requestedRegisters

std::vector<RegisterDataList>* requestedRegisters = nullptr

Definition at line 28 of file RegisterReadRequest.h.


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