SensorDevicesWidget Class Reference

#include <RobotAPI/gui-plugins/RobotUnitPlugin/QWidgets/SensorDevicesWidget.h>

+ Inheritance diagram for SensorDevicesWidget:

Public Member Functions

void sensorDeviceStatusChanged (const SensorDeviceStatusSeq &allStatus)
 
 SensorDevicesWidget (QWidget *parent=0)
 
 ~SensorDevicesWidget () override
 
- Public Member Functions inherited from RobotUnitWidgetTemplateBase< Ui::SensorDevicesWidget >
 RobotUnitWidgetTemplateBase (QString name, QWidget *parent)
 
- Public Member Functions inherited from RobotUnitWidgetBase
virtual void loadSettings (QSettings *)
 
void reset (RobotUnitInterfacePrx ru)
 
 RobotUnitWidgetBase (QString name, QWidget *parent)
 
virtual void saveSettings (QSettings *)
 
void setVisible (bool visible) override
 
 ~RobotUnitWidgetBase ()
 

Static Public Attributes

static constexpr int idxName = 0
 
static constexpr int idxTags = 1
 
static constexpr int idxValType = 2
 
static constexpr int idxValue = 3
 

Protected Member Functions

bool addOneFromResetData () override
 
void clearAll () override
 
void doContentUpdate () override
 
void getResetData () override
 
- Protected Member Functions inherited from RobotUnitWidgetTemplateBase< Ui::SensorDevicesWidget >
QLabel & getResettigLabel () final override
 
QStackedWidget & getStackedWidget () final override
 
QTreeWidget & getTreeWidget () final override
 
- Protected Member Functions inherited from RobotUnitWidgetBase
virtual void addFilter ()
 
void timerEvent (QTimerEvent *) override
 

Additional Inherited Members

- Protected Slots inherited from RobotUnitWidgetBase
void updateContent ()
 
- Protected Attributes inherited from RobotUnitWidgetTemplateBase< Ui::SensorDevicesWidget >
Ui::SensorDevicesWidget * ui
 
- Protected Attributes inherited from RobotUnitWidgetBase
std::atomic_bool doMetaCall {false}
 
std::atomic_bool gotResetData {false}
 
std::atomic_bool isResetting {false}
 
std::recursive_timed_mutex mutex
 
int resetCount {0}
 
int resetTimerId {0}
 
RobotUnitInterfacePrx robotUnit
 

Detailed Description

Definition at line 49 of file SensorDevicesWidget.h.

Constructor & Destructor Documentation

◆ SensorDevicesWidget()

SensorDevicesWidget ( QWidget *  parent = 0)
explicit

Definition at line 30 of file SensorDevicesWidget.cpp.

◆ ~SensorDevicesWidget()

~SensorDevicesWidget ( )
override

Definition at line 48 of file SensorDevicesWidget.cpp.

Member Function Documentation

◆ addOneFromResetData()

bool addOneFromResetData ( )
overrideprotectedvirtual
Returns
true if all objects were added

Implements RobotUnitWidgetBase.

Definition at line 102 of file SensorDevicesWidget.cpp.

◆ clearAll()

void clearAll ( )
overrideprotectedvirtual

Implements RobotUnitWidgetBase.

Definition at line 73 of file SensorDevicesWidget.cpp.

◆ doContentUpdate()

void doContentUpdate ( )
overrideprotectedvirtual

Implements RobotUnitWidgetBase.

Definition at line 80 of file SensorDevicesWidget.cpp.

◆ getResetData()

void getResetData ( )
overrideprotectedvirtual

Implements RobotUnitWidgetBase.

Definition at line 93 of file SensorDevicesWidget.cpp.

◆ sensorDeviceStatusChanged()

void sensorDeviceStatusChanged ( const SensorDeviceStatusSeq &  allStatus)

Definition at line 53 of file SensorDevicesWidget.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ idxName

constexpr int idxName = 0
staticconstexpr

Definition at line 69 of file SensorDevicesWidget.h.

◆ idxTags

constexpr int idxTags = 1
staticconstexpr

Definition at line 70 of file SensorDevicesWidget.h.

◆ idxValType

constexpr int idxValType = 2
staticconstexpr

Definition at line 71 of file SensorDevicesWidget.h.

◆ idxValue

constexpr int idxValue = 3
staticconstexpr

Definition at line 72 of file SensorDevicesWidget.h.


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