MemoryParameterizationService.h
Go to the documentation of this file.
1
/**
2
* This file is part of ArmarX.
3
*
4
* ArmarX is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation.
7
*
8
* ArmarX is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* @author Fabian Reister ( fabian dot reister at kit dot edu )
17
* @date 2021
18
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
19
* GNU General Public License
20
*/
21
22
#pragma once
23
24
#include <
RobotAPI/libraries/armem/core/Time.h
>
25
#include <
RobotAPI/libraries/aron/core/data/variant/container/Dict.h
>
26
27
#include <
armarx/navigation/core/types.h
>
28
#include <
armarx/navigation/memory/client/parameterization/Reader.h
>
29
#include <
armarx/navigation/memory/client/parameterization/Writer.h
>
30
31
32
namespace
armarx::navigation::server
33
{
34
35
36
class
MemoryParameterizationService
37
{
38
public
:
39
MemoryParameterizationService
(
memory::client::param::Reader
* reader,
40
memory::client::param::Writer
* writer);
41
42
bool
store
(
const
aron::data::DictPtr
& params,
43
const
std::string& clientId,
44
const
armarx::core::time::DateTime
& timestamp);
45
46
bool
store
(
const
aron::data::dto::DictPtr
& params,
47
const
std::string& clientId,
48
const
armarx::core::time::DateTime
& timestamp);
49
50
51
protected
:
52
private
:
53
memory::client::param::Reader
* reader;
54
memory::client::param::Writer
* writer;
55
};
56
}
// namespace armarx::navigation::server
armarx::navigation::server::MemoryParameterizationService::store
bool store(const aron::data::DictPtr ¶ms, const std::string &clientId, const armarx::core::time::DateTime ×tamp)
Definition:
MemoryParameterizationService.cpp:14
armarx::navigation::memory::client::param::Writer
Definition:
Writer.h:33
armarx::navigation::server::MemoryParameterizationService::MemoryParameterizationService
MemoryParameterizationService(memory::client::param::Reader *reader, memory::client::param::Writer *writer)
Definition:
MemoryParameterizationService.cpp:72
Reader.h
Dict.h
armarx::navigation::server
This file is part of ArmarX.
Definition:
EventPublishingInterface.h:10
Writer.h
armarx::core::time::DateTime
Represents a point in time.
Definition:
DateTime.h:24
armarx::aron::data::DictPtr
std::shared_ptr< Dict > DictPtr
Definition:
Dict.h:41
Time.h
armarx::navigation::memory::client::param::Reader
Definition:
Reader.h:29
types.h
armarx::navigation::server::MemoryParameterizationService
Definition:
MemoryParameterizationService.h:36
armarx
navigation
server
parameterization
MemoryParameterizationService.h
Generated on Sat Oct 12 2024 09:14:15 for armarx_documentation by
1.8.17