Go to the documentation of this file.
33 #include <Inventor/nodes/SoNode.h>
36 #include <MemoryX/interface/components/PriorKnowledgeInterface.h>
37 #include <MemoryX/interface/components/CommonStorageInterface.h>
47 class MemoryXController;
131 memoryx::PriorKnowledgeInterfacePrx priorKnowledgePrx;
132 memoryx::CommonStorageInterfacePrx databasePrx;
133 memoryx::PersistentObjectClassSegmentBasePrx classesSegmentPrx;
138 mutable std::recursive_mutex mutexEntities;
~PriorKnowledgeController()
Destructor.
std::string getCollection(const memoryx::ObjectInstancePtr &objectInstance) const
Returns the name of the collection the object class of the given object instance belongs to.
SoNode * getCoinVisualisation(const memoryx::ObjectClassPtr &objectClass, const bool &collisionModel) const
Returns a coin node that contains a visual model of the given object class.
std::map< std::string, std::string > getAllAttributes(const memoryx::ObjectClassPtr &objectClass) const
Returns a map with every attribute and its value of the given object class.
std::vector< memoryx::ObjectClassPtr > getAllObjectClassesPtr(const std::string &collection) const
Returns a list of pointers to all object classes in the given collection.
memoryx::ObjectClassPtr getObjectClassPtr(const std::string &className, const std::string &collection) const
Returns a pointer to the object class with the given name in the give collection.
std::shared_ptr< PriorKnowledgeController > PriorKnowledgeControllerPtr
The controller for the communication with the priorknowledge.
std::shared_ptr< GridFileManager > GridFileManagerPtr
std::vector< std::string > getCollectionNames() const
Returns a list of the names of all collections in the database.
PriorKnowledgeController(const memoryx::PriorKnowledgeInterfacePrx &priorKnowledgePrx)
Constructor.