30 #include <MemoryX/interface/components/WorkingMemoryInterface.h>
31 #include <MemoryX/interface/components/LongtermMemoryInterface.h>
49 defineRequiredProperty<std::string>(
"SceneFile",
"Name of scene XML file to import")
50 .setCaseInsensitive(
true);
51 defineRequiredProperty<std::string>(
"SnapshotName",
"Name of snapshot (=MongoDB collection) to load objects to")
52 .setCaseInsensitive(
true);
53 defineOptionalProperty<LengthUnit>(
"TargetLengthUnit",
eMETER,
"Length unit to convert into (M, CM or MM)")
54 .setCaseInsensitive(
false)
101 return "XMLSceneImporter";
103 void onInitComponent()
override;
104 void onConnectComponent()
override;
115 WorkingMemoryInterfacePrx memoryPrx;
116 ObjectInstanceMemorySegmentBasePrx objectInstancesMemoryPrx;
117 LongtermMemoryInterfacePrx longtermMemoryPrx;
125 void importXMLSnapshot(
const std::string& fileName);