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 <string>
25
26
#include <
ArmarXCore/core/time/DateTime.h
>
27
28
#include <RobotAPI/interface/aron/Aron.h>
29
#include <
RobotAPI/libraries/aron/core/data/variant/forward_declarations.h
>
30
31
#include <
armarx/navigation/memory/client/parameterization/Reader.h
>
32
#include <
armarx/navigation/memory/client/parameterization/Writer.h
>
33
34
namespace
armarx::navigation::server
35
{
36
37
38
class
MemoryParameterizationService
39
{
40
public
:
41
MemoryParameterizationService
(
memory::client::param::Reader
* reader,
42
memory::client::param::Writer
* writer);
43
44
bool
store
(
const
aron::data::DictPtr
& params,
45
const
std::string& clientId,
46
const
armarx::core::time::DateTime
& timestamp);
47
48
bool
store
(
const
aron::data::dto::DictPtr
& params,
49
const
std::string& clientId,
50
const
armarx::core::time::DateTime
& timestamp);
51
52
53
protected
:
54
private
:
55
memory::client::param::Reader
* reader;
56
memory::client::param::Writer
* writer;
57
};
58
}
// 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:20
armarx::navigation::memory::client::param::Writer
Definition:
Writer.h:38
DateTime.h
armarx::navigation::server::MemoryParameterizationService::MemoryParameterizationService
MemoryParameterizationService(memory::client::param::Reader *reader, memory::client::param::Writer *writer)
Definition:
MemoryParameterizationService.cpp:78
Reader.h
armarx::navigation::server
This file is part of ArmarX.
Definition:
EventPublishingInterface.h:6
IceInternal::Handle
Definition:
forward_declarations.h:8
forward_declarations.h
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
armarx::navigation::memory::client::param::Reader
Definition:
Reader.h:31
armarx::navigation::server::MemoryParameterizationService
Definition:
MemoryParameterizationService.h:38
armarx
navigation
server
parameterization
MemoryParameterizationService.h
Generated on Sat Mar 29 2025 09:17:35 for armarx_documentation by
1.8.17