ObjectStorage.h
Go to the documentation of this file.
1 #ifndef MHT_OBJECT_STORAGE_H_
2 #define MHT_OBJECT_STORAGE_H_
3 
4 #include <list>
5 
6 namespace mhf {
7 
8 class SemanticObject;
9 class Evidence;
10 class KnowledgeDatabase;
11 
13 
14 public:
15 
16  static ObjectStorage& getInstance();
17 
18  virtual ~ObjectStorage();
19 
20  void addObject(SemanticObject* obj);
21 
22  void removeObject(SemanticObject& obj);
23 
24  long getUniqueID();
25 
26  void match(const Evidence& ev);
27 
28 protected:
29 
30  ObjectStorage();
31 
33 
34 
35  long ID_;
36 
37  std::list<SemanticObject*> objects_;
38 
40 
41 };
42 
43 }
44 
45 #endif
std::list< SemanticObject * > objects_
Definition: ObjectStorage.h:37
static ObjectStorage & getInstance()
void addObject(SemanticObject *obj)
static ObjectStorage * instance_
Definition: ObjectStorage.h:32
const KnowledgeDatabase & knowledge_db_
Definition: ObjectStorage.h:39
The class Evidence represents a set of properties (PropertySet) that all originate from one physical ...
Definition: Evidence.h:61
void match(const Evidence &ev)
virtual ~ObjectStorage()
void removeObject(SemanticObject &obj)
Definition: ClassModel.h:44


wire_core
Author(s): Sjoerd van den Dries, Jos Elfring
autogenerated on Fri Apr 16 2021 02:32:27