EntityInstance.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <filesystem>
4 
5 // Base Class
9 
11 {
12 
17  {
18  public:
21  const std::string&,
22  const MemoryID& id,
23  const std::shared_ptr<Processors>& p);
24 
25  protected:
26  void _loadAllReferences(armem::wm::EntitySnapshot&) const override;
27  void _resolve(armem::wm::EntityInstance&) const override;
28  nlohmann::json _store(const armem::wm::EntityInstance&) override;
29 
30  private:
31  };
32 
33 } // namespace armarx::armem::server::ltm
armarx::armem::server::ltm::detail::EntityInstanceBase
Interface functions for the longterm memory classes.
Definition: EntityInstanceBase.h:15
MongoDBStorageMixin.h
armarx::armem::server::ltm::EntityInstance::_store
nlohmann::json _store(const armem::wm::EntityInstance &) override
Definition: EntityInstance.cpp:124
armarx::armem::wm::EntityInstance
Client-side working entity instance.
Definition: memory_definitions.h:32
EntityInstanceBase.h
armarx::armem::server::ltm::EntityInstance::_loadAllReferences
void _loadAllReferences(armem::wm::EntitySnapshot &) const override
Definition: EntityInstance.cpp:30
armarx::armem::MemoryID
A memory ID.
Definition: MemoryID.h:47
armarx::armem::wm::EntitySnapshot
Client-side working memory entity snapshot.
Definition: memory_definitions.h:80
armarx::armem::server::ltm::detail::mixin::MongoDBStorageMixin
Definition: MongoDBStorageMixin.h:45
armarx::armem::server::ltm
Definition: forward_declarations.h:20
armarx::armem::server::ltm::EntityInstance
Definition: EntityInstance.h:13
armarx::armem::server::ltm::detail::mixin::MongoDBSettings
Definition: MongoDBStorageMixin.h:15
armarx::armem::server::ltm::detail::mixin::Path
std::filesystem::path Path
Definition: DiskStorageMixin.h:17
armarx::armem::server::ltm::EntityInstance::EntityInstance
EntityInstance(const detail::mixin::Path &, const detail::mixin::MongoDBSettings &, const std::string &, const MemoryID &id, const std::shared_ptr< Processors > &p)
Definition: EntityInstance.cpp:16
armarx::armem::server::ltm::EntityInstance::_resolve
void _resolve(armem::wm::EntityInstance &) const override
Definition: EntityInstance.cpp:48
armarx::armem::server::ltm::detail::mixin::DiskMemoryItemMixin
Definition: DiskStorageMixin.h:19
DiskStorageMixin.h