ControlDevicesWidget Class Reference

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

+ Inheritance diagram for ControlDevicesWidget:

Public Member Functions

void controlDeviceStatusChanged (const ControlDeviceStatusSeq &allStatus)
 
 ControlDevicesWidget (QWidget *parent=0)
 
 ~ControlDevicesWidget () override
 
- Public Member Functions inherited from RobotUnitWidgetTemplateBase< Ui::ControlDevicesWidget >
 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 idxAct = 4
 
static constexpr int idxHWMode = 3
 
static constexpr int idxMode = 2
 
static constexpr int idxName = 0
 
static constexpr int idxReq = 5
 
static constexpr int idxTags = 1
 
static constexpr int idxType = 6
 
static constexpr int idxVal = 7
 

Protected Member Functions

bool addOneFromResetData () override
 
void clearAll () override
 
void doContentUpdate () override
 
void getResetData () override
 
- Protected Member Functions inherited from RobotUnitWidgetTemplateBase< Ui::ControlDevicesWidget >
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::ControlDevicesWidget >
Ui::ControlDevicesWidget * 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 50 of file ControlDevicesWidget.h.

Constructor & Destructor Documentation

◆ ControlDevicesWidget()

ControlDevicesWidget ( QWidget *  parent = 0)
explicit

Definition at line 30 of file ControlDevicesWidget.cpp.

◆ ~ControlDevicesWidget()

~ControlDevicesWidget ( )
override

Definition at line 64 of file ControlDevicesWidget.cpp.

Member Function Documentation

◆ addOneFromResetData()

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

Implements RobotUnitWidgetBase.

Definition at line 114 of file ControlDevicesWidget.cpp.

◆ clearAll()

void clearAll ( )
overrideprotectedvirtual

Implements RobotUnitWidgetBase.

Definition at line 89 of file ControlDevicesWidget.cpp.

◆ controlDeviceStatusChanged()

void controlDeviceStatusChanged ( const ControlDeviceStatusSeq &  allStatus)

Definition at line 69 of file ControlDevicesWidget.cpp.

+ Here is the caller graph for this function:

◆ doContentUpdate()

void doContentUpdate ( )
overrideprotectedvirtual

Implements RobotUnitWidgetBase.

Definition at line 96 of file ControlDevicesWidget.cpp.

◆ getResetData()

void getResetData ( )
overrideprotectedvirtual

Implements RobotUnitWidgetBase.

Definition at line 105 of file ControlDevicesWidget.cpp.

Member Data Documentation

◆ idxAct

constexpr int idxAct = 4
staticconstexpr

Definition at line 75 of file ControlDevicesWidget.h.

◆ idxHWMode

constexpr int idxHWMode = 3
staticconstexpr

Definition at line 74 of file ControlDevicesWidget.h.

◆ idxMode

constexpr int idxMode = 2
staticconstexpr

Definition at line 73 of file ControlDevicesWidget.h.

◆ idxName

constexpr int idxName = 0
staticconstexpr

Definition at line 71 of file ControlDevicesWidget.h.

◆ idxReq

constexpr int idxReq = 5
staticconstexpr

Definition at line 76 of file ControlDevicesWidget.h.

◆ idxTags

constexpr int idxTags = 1
staticconstexpr

Definition at line 72 of file ControlDevicesWidget.h.

◆ idxType

constexpr int idxType = 6
staticconstexpr

Definition at line 77 of file ControlDevicesWidget.h.

◆ idxVal

constexpr int idxVal = 7
staticconstexpr

Definition at line 78 of file ControlDevicesWidget.h.


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