#include <VisionX/libraries/armem_human/client/HumanProfileWriter.h>
|
| bool | commitHumanProfile (const Person &humanProfile, const std::string &provider, const armem::Time &referencedTime, const std::string &entityName="") |
| |
| 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) |
| |
| void | connect (armem::client::MemoryNameSystem &memoryNameSystem) |
| |
| Properties | defaultProperties () const override |
| |
| | ProfileWriter () |
| |
| std::string | propertyPrefix () const override |
| |
| void | registerPropertyDefinitions (armarx::PropertyDefinitionsPtr &def) |
| |
| 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, indicating it is the most favorite drink.
|
| |
| | SimpleWriterBase () |
| |
| | ~ProfileWriter () override |
| |
| void | connect (armarx::armem::client::MemoryNameSystem &mns) |
| |
| void | registerPropertyDefinitions (armarx::PropertyDefinitionsPtr &def) |
| |
| | SimpleWriterBase () |
| |
| virtual | ~SimpleWriterBase ()=default |
| |
Definition at line 22 of file HumanProfileWriter.h.
◆ ProfileWriter()
◆ ~ProfileWriter()
◆ commitHumanProfile()
| bool commitHumanProfile |
( |
const Person & | humanProfile, |
|
|
const std::string & | provider, |
|
|
const armem::Time & | referencedTime, |
|
|
const std::string & | entityName = "" ) |
◆ commitHumanProfiles()
| bool commitHumanProfiles |
( |
const std::vector< Person > & | humanProfiles, |
|
|
const std::string & | provider, |
|
|
const armem::Time & | referencedTime, |
|
|
const std::string & | entityName ) |
◆ commitPreferencesToProfile()
◆ connect()
◆ defaultProperties()
◆ propertyPrefix()
| std::string propertyPrefix |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ registerPropertyDefinitions()
◆ setCustomAttributeInProfile()
◆ setPreferredDrink()
Inserts the given drink at the first place of the given humans list of preferred drinks, indicating it is the most favorite drink.
If the list already contained the drink before, it is moved to the first entry of the list to prevent duplicate entries.
- Parameters
-
| personID | identifier of the human (first and last name) |
| providerName | name of the profile provider |
| referencedTime | the time at which the preference change occured (used for memory timestamp) |
| drink | human-readable string describing the drink that is preferred (for example, 'orange juice') |
- Returns
- true iff. the preference was updated successfully
Definition at line 159 of file HumanProfileWriter.cpp.
◆ SimpleWriterBase()
The documentation for this class was generated from the following files: