ControlThreadOutputBufferEntry Struct Reference

#include <RobotAPI/components/units/RobotUnit/util/ControlThreadOutputBuffer.h>

Public Member Functions

 ControlThreadOutputBufferEntry ()=delete
 
 ControlThreadOutputBufferEntry (const ControlThreadOutputBufferEntry &other, bool minimize=false)
 
 ControlThreadOutputBufferEntry (const KeyValueVector< std::string, ControlDevicePtr > &controlDevices, const KeyValueVector< std::string, SensorDevicePtr > &sensorDevices, std::size_t messageBufferSize, std::size_t messageBufferNumberEntries, std::size_t messageBufferMaxSize, std::size_t messageBufferMaxNumberEntries)
 
 ControlThreadOutputBufferEntry (ControlThreadOutputBufferEntry &&)=delete
 
std::size_t getDataBufferSize () const
 
ControlThreadOutputBufferEntryoperator= (const ControlThreadOutputBufferEntry &)=delete
 
ControlThreadOutputBufferEntryoperator= (ControlThreadOutputBufferEntry &&)=delete
 

Public Attributes

std::vector< std::vector< PropagateConst< ControlTargetBase * > > > control
 
std::size_t iteration {0}
 
RtMessageLogBuffer messages
 
std::vector< PropagateConst< SensorValueBase * > > sensors
 
IceUtil::Time sensorValuesTimestamp
 
IceUtil::Time timeSinceLastIteration
 
IceUtil::Time writeTimestamp
 Timestamp in wall time (never use the virtual time for this) More...
 

Detailed Description

Definition at line 177 of file ControlThreadOutputBuffer.h.

Constructor & Destructor Documentation

◆ ControlThreadOutputBufferEntry() [1/4]

ControlThreadOutputBufferEntry ( const KeyValueVector< std::string, ControlDevicePtr > &  controlDevices,
const KeyValueVector< std::string, SensorDevicePtr > &  sensorDevices,
std::size_t  messageBufferSize,
std::size_t  messageBufferNumberEntries,
std::size_t  messageBufferMaxSize,
std::size_t  messageBufferMaxNumberEntries 
)

Definition at line 422 of file ControlThreadOutputBuffer.cpp.

◆ ControlThreadOutputBufferEntry() [2/4]

ControlThreadOutputBufferEntry ( const ControlThreadOutputBufferEntry other,
bool  minimize = false 
)

Definition at line 505 of file ControlThreadOutputBuffer.cpp.

◆ ControlThreadOutputBufferEntry() [3/4]

◆ ControlThreadOutputBufferEntry() [4/4]

Member Function Documentation

◆ getDataBufferSize()

std::size_t getDataBufferSize ( ) const
inline

Definition at line 427 of file ControlThreadOutputBuffer.h.

◆ operator=() [1/2]

◆ operator=() [2/2]

Member Data Documentation

◆ control

std::vector<std::vector<PropagateConst<ControlTargetBase*> > > control

Definition at line 204 of file ControlThreadOutputBuffer.h.

◆ iteration

std::size_t iteration {0}

Definition at line 205 of file ControlThreadOutputBuffer.h.

◆ messages

Definition at line 207 of file ControlThreadOutputBuffer.h.

◆ sensors

std::vector<PropagateConst<SensorValueBase*> > sensors

Definition at line 203 of file ControlThreadOutputBuffer.h.

◆ sensorValuesTimestamp

IceUtil::Time sensorValuesTimestamp

Definition at line 201 of file ControlThreadOutputBuffer.h.

◆ timeSinceLastIteration

IceUtil::Time timeSinceLastIteration

Definition at line 202 of file ControlThreadOutputBuffer.h.

◆ writeTimestamp

IceUtil::Time writeTimestamp

Timestamp in wall time (never use the virtual time for this)

Definition at line 200 of file ControlThreadOutputBuffer.h.


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