RobotUnitWidgetBase Class Referenceabstract

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

+ Inheritance diagram for RobotUnitWidgetBase:

Public Member Functions

virtual void loadSettings (QSettings *)
 
void reset (RobotUnitInterfacePrx ru)
 
 RobotUnitWidgetBase (QString name, QWidget *parent)
 
virtual void saveSettings (QSettings *)
 
void setVisible (bool visible) override
 
 ~RobotUnitWidgetBase ()
 

Protected Slots

void updateContent ()
 

Protected Member Functions

virtual void addFilter ()
 
virtual bool addOneFromResetData ()=0
 
virtual void clearAll ()=0
 
virtual void doContentUpdate ()=0
 
virtual void getResetData ()=0
 
virtual QLabel & getResettigLabel ()=0
 
virtual QStackedWidget & getStackedWidget ()=0
 
virtual QTreeWidget & getTreeWidget ()=0
 
void timerEvent (QTimerEvent *) override
 

Protected Attributes

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 47 of file RobotUnitWidgetBase.h.

Constructor & Destructor Documentation

◆ RobotUnitWidgetBase()

RobotUnitWidgetBase ( QString  name,
QWidget *  parent 
)
explicit

Definition at line 30 of file RobotUnitWidgetBase.cpp.

◆ ~RobotUnitWidgetBase()

Definition at line 36 of file RobotUnitWidgetBase.cpp.

Member Function Documentation

◆ addFilter()

virtual void addFilter ( )
inlineprotectedvirtual

Definition at line 69 of file RobotUnitWidgetBase.h.

◆ addOneFromResetData()

virtual bool addOneFromResetData ( )
protectedpure virtual
Returns
true if all objects were added

Implemented in NJointControllersWidget, NJointControllerClassesWidget, ControlDevicesWidget, and SensorDevicesWidget.

+ Here is the caller graph for this function:

◆ clearAll()

virtual void clearAll ( )
protectedpure virtual

◆ doContentUpdate()

virtual void doContentUpdate ( )
protectedpure virtual

Implemented in NJointControllersWidget, NJointControllerClassesWidget, ControlDevicesWidget, and SensorDevicesWidget.

+ Here is the caller graph for this function:

◆ getResetData()

virtual void getResetData ( )
protectedpure virtual

◆ getResettigLabel()

virtual QLabel& getResettigLabel ( )
protectedpure virtual

◆ getStackedWidget()

virtual QStackedWidget& getStackedWidget ( )
protectedpure virtual

◆ getTreeWidget()

◆ loadSettings()

virtual void loadSettings ( QSettings *  )
inlinevirtual

Reimplemented in NJointControllerClassesWidget, and NJointControllersWidget.

Definition at line 56 of file RobotUnitWidgetBase.h.

+ Here is the caller graph for this function:

◆ reset()

void reset ( RobotUnitInterfacePrx  ru)

Definition at line 61 of file RobotUnitWidgetBase.cpp.

◆ saveSettings()

virtual void saveSettings ( QSettings *  )
inlinevirtual

Reimplemented in NJointControllerClassesWidget, and NJointControllersWidget.

Definition at line 57 of file RobotUnitWidgetBase.h.

+ Here is the caller graph for this function:

◆ setVisible()

void setVisible ( bool  visible)
override

Definition at line 70 of file RobotUnitWidgetBase.cpp.

+ Here is the caller graph for this function:

◆ timerEvent()

void timerEvent ( QTimerEvent *  )
overrideprotected

Definition at line 126 of file RobotUnitWidgetBase.cpp.

+ Here is the call graph for this function:

◆ updateContent

void updateContent ( )
protectedslot

Definition at line 44 of file RobotUnitWidgetBase.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ doMetaCall

std::atomic_bool doMetaCall {false}
protected

Definition at line 87 of file RobotUnitWidgetBase.h.

◆ gotResetData

std::atomic_bool gotResetData {false}
protected

Definition at line 83 of file RobotUnitWidgetBase.h.

◆ isResetting

std::atomic_bool isResetting {false}
protected

Definition at line 86 of file RobotUnitWidgetBase.h.

◆ mutex

std::recursive_timed_mutex mutex
mutableprotected

Definition at line 82 of file RobotUnitWidgetBase.h.

◆ resetCount

int resetCount {0}
protected

Definition at line 85 of file RobotUnitWidgetBase.h.

◆ resetTimerId

int resetTimerId {0}
protected

Definition at line 84 of file RobotUnitWidgetBase.h.

◆ robotUnit

RobotUnitInterfacePrx robotUnit
protected

Definition at line 81 of file RobotUnitWidgetBase.h.


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