RobotGui::TaskWatcherRobot Class Reference
Father class of watcher classes. More...
#include <TaskWatcher.h>
Public Member Functions | |
virtual bool shouldShow (void) | |
is called when the document or the selection changes. More... | |
TaskWatcherRobot () | |
~TaskWatcherRobot () | |
![]() | |
std::vector< QWidget * > & getWatcherContent (void) | |
TaskWatcher (const char *Filter) | |
virtual ~TaskWatcher () | |
![]() | |
void addError (const char *e) | |
const std::string & getFilter () const | |
bool isValid (void) const | |
true if a valid filter is set More... | |
bool match (void) | |
Test to current selection This method tests the current selection set against the filter and returns true if the described object(s) are selected. More... | |
SelectionFilter (const char *filter) | |
Constructs a SelectionFilter object. More... | |
SelectionFilter (const std::string &filter) | |
void setFilter (const char *filter) | |
Set a new filter string. More... | |
bool test (App::DocumentObject *pObj, const char *sSubName) | |
Test objects This method tests if a given object is described in the filter. More... | |
virtual ~SelectionFilter () | |
Protected Attributes | |
TaskRobotControl * ctr | |
TaskRobot6Axis * rob | |
![]() | |
std::vector< QWidget * > Content | |
List of TaskBoxes of that dialog. More... | |
![]() | |
Node_Block * Ast | |
std::string Errors | |
std::string Filter | |
Additional Inherited Members | |
![]() | |
std::vector< std::vector< SelectionObject > > Result | |
![]() | |
bool parse (void) | |
Detailed Description
Father class of watcher classes.
Constructor & Destructor Documentation
◆ TaskWatcherRobot()
TaskWatcherRobot::TaskWatcherRobot | ( | ) |
References Gui::TaskView::TaskWatcher::Content, ctr, and rob.
◆ ~TaskWatcherRobot()
TaskWatcherRobot::~TaskWatcherRobot | ( | ) |
Member Function Documentation
◆ shouldShow()
|
virtual |
is called when the document or the selection changes.
Reimplemented from Gui::TaskView::TaskWatcher.
References ctr, Gui::SelectionFilter::match(), Gui::SelectionFilter::Result, rob, RobotGui::TaskRobotControl::setRobot(), and RobotGui::TaskRobot6Axis::setRobot().
Member Data Documentation
◆ ctr
|
protected |
Referenced by shouldShow(), and TaskWatcherRobot().
◆ rob
|
protected |
Referenced by shouldShow(), and TaskWatcherRobot().
The documentation for this class was generated from the following files:
- src/Mod/Robot/Gui/TaskWatcher.h
- src/Mod/Robot/Gui/TaskWatcher.cpp