]> git.mxchange.org Git - simgear.git/blobdiff - simgear/hla/HLAInteractionClass.cxx
scenery: Use correct property root in xml loading.
[simgear.git] / simgear / hla / HLAInteractionClass.cxx
index b56aec4437583da63ee7ac154b22da4832abedaa..afe9bd9f5ef0c06308b4a582d3a112f2761c059a 100644 (file)
 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 //
 
+#ifdef HAVE_CONFIG_H
+#  include <simgear_config.h>
+#endif
+
+#include <simgear/compiler.h>
+
 #include "HLAInteractionClass.hxx"
 
 #include <simgear/debug/logstream.hxx>
@@ -55,6 +61,12 @@ HLAInteractionClass::getName() const
     return _name;
 }
 
+const SGWeakPtr<HLAFederate>&
+HLAInteractionClass::getFederate() const
+{
+    return _federate;
+}
+
 HLASubscriptionType
 HLAInteractionClass::getSubscriptionType() const
 {