28 #include <MemoryX/interface/core/EntityBase.h>
29 #include <MemoryX/interface/memorytypes/MemoryEntities.h>
30 #include <MemoryX/interface/memorytypes/MemorySegments.h>
36 virtual public PersistentAgentInstancesSegmentBase
41 bool useMongoIds =
true) :
43 PersistentAgentInstancesSegmentBase()
50 AgentInstanceBasePtr res = AgentInstanceBasePtr::dynamicCast(getEntityById(
id));
54 ARMARX_WARNING_S <<
"Entity with id " <<
id <<
" is not of type AgentInstance!"
63 const ::Ice::Current& = Ice::emptyCurrent)
const
65 AgentInstanceBasePtr res = AgentInstanceBasePtr::dynamicCast(getEntityByName(name));
69 ARMARX_WARNING_S <<
"Entity with name " << name <<
" is not of type AgentEntity!"