HumanActivityWriter.h
Go to the documentation of this file.
1#pragma once
2
3
4#include <mutex>
5#include <optional>
6#include <string>
7
9
13
14#include <VisionX/libraries/armem_human/aron/HumanActivity.aron.generated.h>
17
19{
20
22 {
23 public:
25
27
28 ~ActivityWriter() override;
29
31 void connect(armem::client::MemoryNameSystem& memoryNameSystem);
32
33 std::string
34 propertyPrefix() const override
35 {
36 return "mem.human.activity.";
37 };
38
39 Properties
40 defaultProperties() const override
41 {
42 return Properties{
43 .memoryName = "Human", .coreSegmentName = "HumanActivity", .providerName = ""};
44 };
45
46 bool commitHumanActivity(const HumanActivity& activity,
47 const std::string& provider,
48 const armem::Time& referencedTime);
49
50 bool commitHumanActivities(const std::vector<HumanActivity>& activities,
51 const std::string& provider,
52 const armem::Time& referencedTime);
53
54 private:
56 };
57
58} // namespace armarx::armem::human::client
The memory name system (MNS) client.
void connect(armem::client::MemoryNameSystem &memoryNameSystem)
bool commitHumanActivities(const std::vector< HumanActivity > &activities, const std::string &provider, const armem::Time &referencedTime)
bool commitHumanActivity(const HumanActivity &activity, const std::string &provider, const armem::Time &referencedTime)
void registerPropertyDefinitions(armarx::PropertyDefinitionsPtr &def)
armarx::core::time::DateTime Time
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.