14#include <VisionX/libraries/armem_human/aron/PersonInstance.aron.generated.h>
16#include <VisionX/libraries/armem_human/server/HumanMemoryServerInterface.h>
37 return "mem.human.profile.";
44 .memoryName =
"Human", .coreSegmentName =
"Profile", .providerName =
""};
49 const std::string& provider,
51 const std::string& entityName =
"");
54 const std::string& providerName,
59 const std::string& providerName,
61 const std::string key,
62 const std::string value);
65 const std::string& provider,
67 const std::string& entityName);
85 const std::string& providerName,
87 const std::string& drink);
90 armem::human::HumanMemoryServerInterfacePrx humanMemory;
The memory name system (MNS) client.
void connect(armem::client::MemoryNameSystem &memoryNameSystem)
~ProfileWriter() override
std::string propertyPrefix() const override
bool commitHumanProfiles(const std::vector< Person > &humanProfiles, const std::string &provider, const armem::Time &referencedTime, const std::string &entityName)
bool commitPreferencesToProfile(const armarx::armem::human::PersonID &personID, const std::string &providerName, const armem::Time &referencedTime, const armarx::armem::human::Preferences preferences)
bool commitHumanProfile(const Person &humanProfile, const std::string &provider, const armem::Time &referencedTime, const std::string &entityName="")
bool setCustomAttributeInProfile(const armarx::armem::human::PersonID &personID, const std::string &providerName, const armem::Time &referencedTime, const std::string key, const std::string value)
bool setPreferredDrink(const armarx::armem::human::PersonID &personID, const std::string &providerName, const armem::Time &referencedTime, const std::string &drink)
Inserts the given drink at the first place of the given humans list of preferred drinks,...
Properties defaultProperties() const override
void registerPropertyDefinitions(armarx::PropertyDefinitionsPtr &def)
armarx::core::time::DateTime Time
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.