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