TaskOutcomeWriter.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4#include <vector>
5
7
11
13
15{
16
18 {
19 public:
21
24
26 void connect(armem::client::MemoryNameSystem& memoryNameSystem);
27
28 std::string
29 propertyPrefix() const override
30 {
31 return "mem.task_outcome.";
32 };
33
34 Properties
35 defaultProperties() const override
36 {
37 return Properties{
38 .memoryName = "TaskOutcome",
39 .coreSegmentName = "TaskOutcome",
40 .providerName = ""};
41 };
42
43 bool commitTaskOutcome(const TaskOutcome& outcome,
44 const std::string& provider,
45 const armem::Time& referencedTime);
46
47 bool commitTaskOutcomes(const std::vector<TaskOutcome>& outcomes,
48 const std::string& provider,
49 const armem::Time& referencedTime);
50 };
51
52} // namespace armarx::armem::task_outcome::client
The memory name system (MNS) client.
void connect(armem::client::MemoryNameSystem &memoryNameSystem)
bool commitTaskOutcome(const TaskOutcome &outcome, const std::string &provider, const armem::Time &referencedTime)
bool commitTaskOutcomes(const std::vector< TaskOutcome > &outcomes, 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.