SlaveRegisterReadingScheduler Class Reference

Brief description of class SlaveRegisterReadingScheduler. More...

#include <armarx/control/ethercat/bus_io/SlaveRegisterReadingScheduler.h>

Public Member Functions

bool allRegistersUpdated () const
 
const std::vector< RegisterDataList > & getRegisterData ()
 
 SlaveRegisterReadingScheduler (std::uint16_t slaveCount, unsigned int updatePeriodInMS, std::vector< datatypes::RegisterEnum > registerList)
 
void startReadingNextRegisters ()
 
 ~SlaveRegisterReadingScheduler ()
 

Static Public Member Functions

static EtherCATFrameListcreateEtherCATFrameListFromRegisterDataList (const std::vector< RegisterDataList > *requestedRegisters)
 
static void updateRegisterDataFromEtherCATFrameList (const EtherCATFrameList *frameList, std::vector< RegisterDataList > *requestedRegisters)
 

Detailed Description

Brief description of class SlaveRegisterReadingScheduler.

Detailed description of class SlaveRegisterReadingScheduler.

Definition at line 20 of file SlaveRegisterReadingScheduler.h.

Constructor & Destructor Documentation

◆ SlaveRegisterReadingScheduler()

SlaveRegisterReadingScheduler ( std::uint16_t  slaveCount,
unsigned int  updatePeriodInMS,
std::vector< datatypes::RegisterEnum registerList 
)

Definition at line 157 of file SlaveRegisterReadingScheduler.cpp.

+ Here is the call graph for this function:

◆ ~SlaveRegisterReadingScheduler()

Member Function Documentation

◆ allRegistersUpdated()

bool allRegistersUpdated ( ) const

Definition at line 201 of file SlaveRegisterReadingScheduler.cpp.

◆ createEtherCATFrameListFromRegisterDataList()

EtherCATFrameList * createEtherCATFrameListFromRegisterDataList ( const std::vector< RegisterDataList > *  requestedRegisters)
static

Definition at line 20 of file SlaveRegisterReadingScheduler.cpp.

+ Here is the caller graph for this function:

◆ getRegisterData()

const std::vector< RegisterDataList > & getRegisterData ( )

Definition at line 186 of file SlaveRegisterReadingScheduler.cpp.

◆ startReadingNextRegisters()

void startReadingNextRegisters ( )

Definition at line 192 of file SlaveRegisterReadingScheduler.cpp.

◆ updateRegisterDataFromEtherCATFrameList()

void updateRegisterDataFromEtherCATFrameList ( const EtherCATFrameList frameList,
std::vector< RegisterDataList > *  requestedRegisters 
)
static

Definition at line 38 of file SlaveRegisterReadingScheduler.cpp.

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

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