Go to the documentation of this file.
33 #include <Inventor/nodes/SoNode.h>
36 #include <MemoryX/interface/components/CommonStorageInterface.h>
37 #include <MemoryX/interface/components/PriorKnowledgeInterface.h>
46 class MemoryXController;
91 std::vector<memoryx::ObjectClassPtr>
103 const std::string& collection)
const;
114 const bool& collisionModel)
const;
123 std::map<std::string, std::string>
134 memoryx::PriorKnowledgeInterfacePrx priorKnowledgePrx;
135 memoryx::CommonStorageInterfacePrx databasePrx;
136 memoryx::PersistentObjectClassSegmentBasePrx classesSegmentPrx;
141 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.