StatechartExecutorExample.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 ArmarXGui::ArmarXObjects::StatechartExecutorExample
17 * @author Stefan Reither ( stefan dot reither at kit dot edu )
18 * @date 2019
19 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20 * GNU General Public License
21 */
22
23#pragma once
24
25
28#include <ArmarXCore/interface/components/SimpleStatechartExecutorInterface.h>
29
30#include <ArmarXGui/interface/RemoteGuiInterface.h>
32
33namespace armarx
34{
35 /**
36 * @class StatechartExecutorExamplePropertyDefinitions
37 * @brief
38 */
44
45 /**
46 * @defgroup Component-StatechartExecutorExample StatechartExecutorExample
47 * @ingroup ArmarXGui-Components
48 * A description of the component StatechartExecutorExample.
49 *
50 * @class StatechartExecutorExample
51 * @ingroup Component-StatechartExecutorExample
52 * @brief Brief description of class StatechartExecutorExample.
53 *
54 * Detailed description of class StatechartExecutorExample.
55 */
57 {
58 public:
59 /// @see armarx::ManagedIceObject::getDefaultName()
60 virtual std::string getDefaultName() const override;
61
62
63 protected:
64 /// @see armarx::ManagedIceObject::onInitComponent()
65 virtual void onInitComponent() override;
66
67 /// @see armarx::ManagedIceObject::onConnectComponent()
68 virtual void onConnectComponent() override;
69
70 /// @see armarx::ManagedIceObject::onDisconnectComponent()
71 virtual void onDisconnectComponent() override;
72
73 /// @see armarx::ManagedIceObject::onExitComponent()
74 virtual void onExitComponent() override;
75
76 /// @see PropertyUser::createPropertyDefinitions()
78
79
80 private:
81 SimpleStatechartExecutorInterfacePrx _statechartExecutor;
82
83 void setupRemoteGuiWidget();
84 RemoteGuiInterfacePrx _remoteGuiPrx;
85 RemoteGui::TabProxy _remoteGuiTab;
86 std::string _tabName;
87 void runRemoteGui();
89 };
90} // namespace armarx
Default component property definition container.
Definition Component.h:70
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Definition Component.h:94
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
IceUtil::Handle< RunningTask< T > > pointer_type
Shared pointer type for convenience.
Brief description of class StatechartExecutorExample.
virtual armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
virtual std::string getDefaultName() const override
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.