31#include <MemoryX/interface/components/LongtermMemoryInterface.h>
32#include <MemoryX/interface/components/WorkingMemoryInterface.h>
50 .setCaseInsensitive(
true);
52 "SnapshotName",
"Name of snapshot (=MongoDB collection) to load objects to")
53 .setCaseInsensitive(
true);
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);
#define ARMARXCOMPONENT_IMPORT_EXPORT
Default component property definition container.
ComponentPropertyDefinitions(std::string prefix, bool hasObjectNameParameter=true)
Baseclass for all ArmarX ManagedIceObjects requiring properties.
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
PropertyDefinition< PropertyType > & defineOptionalProperty(const std::string &name, PropertyType defaultValue, const std::string &description="", PropertyDefinitionBase::PropertyConstness constness=PropertyDefinitionBase::eConstant)
PropertyDefinition< PropertyType > & defineRequiredProperty(const std::string &name, const std::string &description="", PropertyDefinitionBase::PropertyConstness constness=PropertyDefinitionBase::eConstant)
XMLSceneImporterPropertyDefinitions(std::string prefix)
The XMLSceneImporter class reads scene specification files and creates a snapshot with the specified ...
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
std::string getDefaultName() const override
Retrieve default name of component.
Class representing a node of XML document.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
This file contains rapidxml parser and DOM implementation.