31#include <MemoryX/interface/memorytypes/MemorySegments.h>
37 virtual public PersistentDMPDataSegmentBase
44 PersistentDMPDataSegmentBase()
50 const ::Ice::Current& = Ice::emptyCurrent)
const override
52 DMPEntityBasePtr res = DMPEntityBasePtr::dynamicCast(
getEntityById(
id));
65 const ::Ice::Current& = Ice::emptyCurrent)
const override
67 DMPEntityBasePtr res = DMPEntityBasePtr::dynamicCast(
getEntityByName(name));
71 ARMARX_WARNING_S <<
"Entity with name " << name <<
" is not of type DMPEntity!"
#define ARMARXCOMPONENT_IMPORT_EXPORT
PersistentDMPDataSegment(CollectionInterfacePrx entityCollection, Ice::CommunicatorPtr ic, bool useMongoIds=true)
DMPEntityBasePtr getDMPEntityById(const std::string &id, const ::Ice::Current &=Ice::emptyCurrent) const override
DMPEntityBasePtr getDMPEntityByName(const std::string &name, const ::Ice::Current &=Ice::emptyCurrent) const override
PersistentEntitySegment(CollectionInterfacePrx entityCollection, Ice::CommunicatorPtr ic, bool useMongoIds=true)
EntityBasePtr getEntityById(const ::std::string &entityId, const ::Ice::Current &=Ice::emptyCurrent) const override
EntityBasePtr getEntityByName(const ::std::string &name, const ::Ice::Current &=Ice::emptyCurrent) const override
#define ARMARX_WARNING_S
The logging level for unexpected behaviour, but not a serious problem.
::IceInternal::Handle<::Ice::Communicator > CommunicatorPtr
IceInternal::Handle< PersistentDMPDataSegment > PersistentDMPDataSegmentPtr