AffordancePipelineGuiConfigDialog.h
Go to the documentation of this file.
1 /*
2 * This file is part of ArmarX.
3 *
4 * ArmarX is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * ArmarX is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 * @package VisionX
17 * @author Peter Kaiser ( peter dot kaiser at kit dot edu)
18 * @date 2016
19 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20 * GNU General Public License
21 */
22 
23 #pragma once
24 
25 #include <QDialog>
26 #include <QFileDialog>
27 
32 
33 namespace Ui
34 {
35  class AffordancePipelineGuiConfigDialog;
36 }
37 
38 namespace armarx
39 {
41  public QDialog,
42  virtual public ManagedIceObject
43  {
44  Q_OBJECT
45 
46  public:
47  explicit AffordancePipelineGuiConfigDialog(QWidget* parent = 0);
49 
50  // inherited from ManagedIceObject
51  std::string getDefaultName() const override
52  {
53  return "AffordancePipelineGuiConfigDialog" + uuid;
54  }
55 
56  void onInitComponent() override;
57  void onConnectComponent() override;
58  void onExitComponent() override;
59 
60  std::string getPlatform();
61 
62  std::vector<std::string> getProviderNames();
63  std::vector<std::string> getProviderDisplayNames();
64  std::vector<std::string> getFilteredProviderNames();
65  std::vector<std::string> getPipelineConfigurationFiles();
66 
67  public slots:
68  void verifyConfig();
69 
70  private:
71  Ui::AffordancePipelineGuiConfigDialog* ui;
72  std::string uuid;
73 
74  IceProxyFinderBase* pointCloudSegmenterProxyFinder;
75  IceProxyFinderBase* primitiveExtractorProxyFinder;
76  IceProxyFinderBase* affordanceExtractionProxyFinder;
77  IceProxyFinderBase* pipelineVisualizationProxyFinder;
78  IceProxyFinderBase* robotStateComponentProxyFinder;
79 
81  };
82 }
83 
armarx::AffordancePipelineGuiWidgetController
AffordancePipelineGuiWidgetController brief one line description.
Definition: AffordancePipelineGuiWidgetController.h:64
armarx::AffordancePipelineGuiConfigDialog::onConnectComponent
void onConnectComponent() override
Pure virtual hook for the subclass.
Definition: AffordancePipelineGuiConfigDialog.cpp:91
armarx::AffordancePipelineGuiConfigDialog::getFilteredProviderNames
std::vector< std::string > getFilteredProviderNames()
Definition: AffordancePipelineGuiConfigDialog.cpp:121
armarx::IceProxyFinderBase
The IceProxyFinderBase class provides a convenient way to query online proxies in the ice network,...
Definition: IceProxyFinder.h:53
RunningTask.h
armarx::AffordancePipelineGuiConfigDialog::getProviderNames
std::vector< std::string > getProviderNames()
Definition: AffordancePipelineGuiConfigDialog.cpp:105
armarx::AffordancePipelineGuiConfigDialog
Definition: AffordancePipelineGuiConfigDialog.h:40
Ui
ArmarX Headers.
Definition: ArmarXMainWindow.h:54
ManagedIceObject.h
armarx::AffordancePipelineGuiConfigDialog::getDefaultName
std::string getDefaultName() const override
Retrieve default name of component.
Definition: AffordancePipelineGuiConfigDialog.h:51
IceProxyFinder.h
armarx::AffordancePipelineGuiConfigDialog::onInitComponent
void onInitComponent() override
Pure virtual hook for the subclass.
Definition: AffordancePipelineGuiConfigDialog.cpp:82
IceManager.h
armarx::AffordancePipelineGuiConfigDialog::onExitComponent
void onExitComponent() override
Hook for subclass.
Definition: AffordancePipelineGuiConfigDialog.cpp:95
armarx::AffordancePipelineGuiConfigDialog::getProviderDisplayNames
std::vector< std::string > getProviderDisplayNames()
Definition: AffordancePipelineGuiConfigDialog.cpp:113
armarx::AffordancePipelineGuiConfigDialog::verifyConfig
void verifyConfig()
Definition: AffordancePipelineGuiConfigDialog.cpp:137
armarx::ManagedIceObject
The ManagedIceObject is the base class for all ArmarX objects.
Definition: ManagedIceObject.h:163
armarx::AffordancePipelineGuiConfigDialog::getPlatform
std::string getPlatform()
Definition: AffordancePipelineGuiConfigDialog.cpp:100
armarx::AffordancePipelineGuiConfigDialog::AffordancePipelineGuiConfigDialog
AffordancePipelineGuiConfigDialog(QWidget *parent=0)
Definition: AffordancePipelineGuiConfigDialog.cpp:48
armarx::AffordancePipelineGuiConfigDialog::getPipelineConfigurationFiles
std::vector< std::string > getPipelineConfigurationFiles()
Definition: AffordancePipelineGuiConfigDialog.cpp:129
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28
armarx::AffordancePipelineGuiConfigDialog::~AffordancePipelineGuiConfigDialog
~AffordancePipelineGuiConfigDialog() override
Definition: AffordancePipelineGuiConfigDialog.cpp:77