]> git.mxchange.org Git - simgear.git/blobdiff - simgear/hla/RTI13Federate.cxx
Move the decision which rti to use into HLAFederate.
[simgear.git] / simgear / hla / RTI13Federate.cxx
index 649a9f58ec32a9bde811d9407754a38f3fa4b424..a77fbaea8a8aded9c4650fc3dad3584428eda7fc 100644 (file)
 
 namespace simgear {
 
-RTI13Federate::RTI13Federate() :
+RTI13Federate::RTI13Federate(const std::list<std::string>& stringList) :
     _tickTimeout(10),
     _ambassador(new RTI13Ambassador)
 {
+    if (stringList.empty()) {
+        SG_LOG(SG_NETWORK, SG_WARN, "RTI: Ignoring non empty connect arguments while connecting to an RTI13 federation!");
+    }
 }
 
 RTI13Federate::~RTI13Federate()