31#include <MemoryX/interface/core/EntityBase.h>
32#include <MemoryX/interface/memorytypes/MemoryEntities.h>
33#include <MemoryX/interface/memorytypes/MemorySegments.h>
40 virtual public OacMemorySegmentBase
44 CollectionInterfacePrx entityCollection,
48 OacMemorySegmentBase(),
55 const ::Ice::Current& = Ice::emptyCurrent)
const override
62 const ::Ice::Current& = Ice::emptyCurrent)
const override
68 getAll(const ::Ice::Current& = Ice::emptyCurrent)
const override
74 for (EntityIdList::const_iterator it = entityIdList.begin(); it != entityIdList.end();
81 result.push_back(oac);
96 OacBasePtr replaceObjectDummies(OacBasePtr oac)
const;
105 OacBasePtr completeOac(OacBasePtr oac)
const;
125 OacPtr oacCast = OacPtr::dynamicCast(oac);
129 throw IceUtil::NullHandleException(
"Could not cast OacBase into Oac Ptr", 0);
134 throw armarx::LocalException(
"PersistentObjectClassSegmentBaseProxy is NULL");
137 SECObjectRelationsBasePtr pre = oacCast->getPredictionFunction()->getSECPreconditions();
138 SECObjectRelationsBasePtr post = oacCast->getPredictionFunction()->getSECEffects();
#define ARMARXCOMPONENT_IMPORT_EXPORT
OacBasePtr replaceObjectDummies(OacBasePtr oac) const
replaceObjectDummies checks the objects class in the SEC part of an OAC and completes it with the rea...
PersistentObjectClassSegmentBasePrx objClassSegment
OacMemorySegment(PersistentObjectClassSegmentBasePrx objClassSegment, CollectionInterfacePrx entityCollection, Ice::CommunicatorPtr ic, bool useMongoIds=true)
OacBasePtr completeOac(OacBasePtr oac) const
completeOac checks the data of an OAC and completes it with data from other segments (e....
OacBasePtr getOacById(const ::std::string &id, const ::Ice::Current &=Ice::emptyCurrent) const override
OacBasePtr getOacByName(const ::std::string &name, const ::Ice::Current &=Ice::emptyCurrent) const override
OacBaseList getAll(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
EntityIdList getAllEntityIds(const ::Ice::Current &=Ice::emptyCurrent) const override
EntityBasePtr getEntityByName(const ::std::string &name, const ::Ice::Current &=Ice::emptyCurrent) const override
static void ReplaceObjectDummies(SECObjectRelationsBasePtr objRelations, PersistentObjectClassSegmentBasePrx objClassSegment)
::IceInternal::Handle<::Ice::Communicator > CommunicatorPtr
IceInternal::Handle< Oac > OacPtr
IceInternal::Handle< OacMemorySegment > OacMemorySegmentPtr