32 #include <RobotAPI/interface/core/RobotState.h>
35 #include <MemoryX/interface/components/WorkingMemoryInterface.h>
42 virtual public WorkingMemoryListenerInterface,
48 std::string getDefaultName()
const override;
55 void onInitComponent()
override;
58 void onConnectComponent()
override;
61 void onDisconnectComponent()
override;
64 void onExitComponent()
override;
70 void reportEntityCreated(
const std::string&,
const EntityBasePtr&,
const Ice::Current&)
override;
71 void reportEntityUpdated(
const std::string&,
const EntityBasePtr&,
const EntityBasePtr&,
const Ice::Current&)
override;
72 void reportEntityRemoved(
const std::string&,
const EntityBasePtr&,
const Ice::Current&)
override;
73 void reportSnapshotLoaded(
const std::string&,
const Ice::Current&)
override;
74 void reportSnapshotCompletelyLoaded(
const Ice::Current&)
override;
75 void reportMemoryCleared(
const std::string&,
const Ice::Current&)
override;
78 WorkingMemoryInterfacePrx memoryPrx;
80 float minOrientationDistance = 0.2;
81 float minPositionDistance = 100;
83 std::map<std::string, std::map<int, memoryx::EntityBasePtr>> entityMap;