From acc19f78e35a70d221059034ddfe94011b96a12d Mon Sep 17 00:00:00 2001
From: Fabian Paus <fabian.paus@kit.edu>
Date: Mon, 18 May 2020 19:58:25 +0200
Subject: [PATCH] Add missing includes

---
 source/RobotAPI/components/RobotState/RobotStateComponent.cpp  | 2 ++
 .../units/RobotUnit/util/ControlThreadOutputBuffer.h           | 1 +
 source/RobotAPI/components/units/SpeechObserver.cpp            | 2 ++
 .../RobotAPI/gui-plugins/HandUnitPlugin/HandUnitConfigDialog.h | 1 +
 .../gui-plugins/PlatformUnitPlugin/PlatformUnitConfigDialog.h  | 1 +
 .../ArmarXTCPMover/TCPMoverConfigDialog.h                      | 1 +
 .../RobotAPIComponentPlugins/RobotStateComponentPlugin.h       | 3 ++-
 7 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/source/RobotAPI/components/RobotState/RobotStateComponent.cpp b/source/RobotAPI/components/RobotState/RobotStateComponent.cpp
index 52bada6ff..e3c8d00b9 100644
--- a/source/RobotAPI/components/RobotState/RobotStateComponent.cpp
+++ b/source/RobotAPI/components/RobotState/RobotStateComponent.cpp
@@ -26,6 +26,8 @@
 #include <boost/foreach.hpp>
 #include <boost/format.hpp>
 
+#include <Ice/ObjectAdapter.h>
+
 #include <VirtualRobot/RobotNodeSet.h>
 #include <VirtualRobot/math/Helpers.h>
 #include <VirtualRobot/Nodes/RobotNode.h>
diff --git a/source/RobotAPI/components/units/RobotUnit/util/ControlThreadOutputBuffer.h b/source/RobotAPI/components/units/RobotUnit/util/ControlThreadOutputBuffer.h
index bca3c8214..e6a3c820f 100644
--- a/source/RobotAPI/components/units/RobotUnit/util/ControlThreadOutputBuffer.h
+++ b/source/RobotAPI/components/units/RobotUnit/util/ControlThreadOutputBuffer.h
@@ -29,6 +29,7 @@
 #include <boost/format.hpp>
 
 #include <ArmarXCore/core/exceptions/local/ExpressionException.h>
+#include <ArmarXCore/core/util/StringHelperTemplates.h>
 #include <ArmarXCore/core/util/PropagateConst.h>
 #include <ArmarXCore/core/util/TripleBuffer.h>
 
diff --git a/source/RobotAPI/components/units/SpeechObserver.cpp b/source/RobotAPI/components/units/SpeechObserver.cpp
index 26c215dbf..bdc7f41b9 100644
--- a/source/RobotAPI/components/units/SpeechObserver.cpp
+++ b/source/RobotAPI/components/units/SpeechObserver.cpp
@@ -24,6 +24,8 @@
 #include "SpeechObserver.h"
 #include <ArmarXCore/util/json/JSONObject.h>
 
+#include <Ice/ObjectAdapter.h>
+
 using namespace armarx;
 
 SpeechObserver::SpeechObserver()
diff --git a/source/RobotAPI/gui-plugins/HandUnitPlugin/HandUnitConfigDialog.h b/source/RobotAPI/gui-plugins/HandUnitPlugin/HandUnitConfigDialog.h
index 74fc9a145..1ed61c68c 100644
--- a/source/RobotAPI/gui-plugins/HandUnitPlugin/HandUnitConfigDialog.h
+++ b/source/RobotAPI/gui-plugins/HandUnitPlugin/HandUnitConfigDialog.h
@@ -25,6 +25,7 @@
 #include <QDialog>
 
 #include <ArmarXCore/core/IceManager.h>
+#include <ArmarXCore/core/ManagedIceObject.h>
 
 #include <ArmarXGui/libraries/ArmarXGuiBase/widgets/IceProxyFinder.h>
 
diff --git a/source/RobotAPI/gui-plugins/PlatformUnitPlugin/PlatformUnitConfigDialog.h b/source/RobotAPI/gui-plugins/PlatformUnitPlugin/PlatformUnitConfigDialog.h
index 028d5e256..89b829f8c 100644
--- a/source/RobotAPI/gui-plugins/PlatformUnitPlugin/PlatformUnitConfigDialog.h
+++ b/source/RobotAPI/gui-plugins/PlatformUnitPlugin/PlatformUnitConfigDialog.h
@@ -24,6 +24,7 @@
 
 #include <QDialog>
 
+#include <ArmarXCore/core/ManagedIceObject.h>
 #include <ArmarXGui/libraries/ArmarXGuiBase/widgets/IceProxyFinder.h>
 #include <RobotAPI/interface/units/PlatformUnitInterface.h>
 
diff --git a/source/RobotAPI/gui-plugins/SensorActorWidgetsPlugin/ArmarXTCPMover/TCPMoverConfigDialog.h b/source/RobotAPI/gui-plugins/SensorActorWidgetsPlugin/ArmarXTCPMover/TCPMoverConfigDialog.h
index f5a2a86d8..010545fff 100644
--- a/source/RobotAPI/gui-plugins/SensorActorWidgetsPlugin/ArmarXTCPMover/TCPMoverConfigDialog.h
+++ b/source/RobotAPI/gui-plugins/SensorActorWidgetsPlugin/ArmarXTCPMover/TCPMoverConfigDialog.h
@@ -25,6 +25,7 @@
 #include <QDialog>
 
 #include <ArmarXCore/core/IceManager.h>
+#include <ArmarXCore/core/ManagedIceObject.h>
 
 #include <ArmarXGui/libraries/ArmarXGuiBase/widgets/IceProxyFinder.h>
 
diff --git a/source/RobotAPI/libraries/RobotAPIComponentPlugins/RobotStateComponentPlugin.h b/source/RobotAPI/libraries/RobotAPIComponentPlugins/RobotStateComponentPlugin.h
index fbbbae26a..5dff431bc 100644
--- a/source/RobotAPI/libraries/RobotAPIComponentPlugins/RobotStateComponentPlugin.h
+++ b/source/RobotAPI/libraries/RobotAPIComponentPlugins/RobotStateComponentPlugin.h
@@ -22,13 +22,14 @@
 
 #pragma once
 
+#include <mutex>
+
 #include <VirtualRobot/Robot.h>
 #include <VirtualRobot/XML/RobotIO.h>
 
 #include <ArmarXCore/core/Component.h>
 
 #include <RobotAPI/interface/core/RobotState.h>
-
 #include <RobotAPI/libraries/diffik/SimpleDiffIK.h>
 
 namespace armarx::plugins
-- 
GitLab