Segment.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 2023
18
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
19
* GNU General Public License
20
*/
21
22
#pragma once
23
24
#include <mutex>
25
#include <optional>
26
#include <string>
27
#include <unordered_map>
28
29
#include <RobotAPI/interface/units/RobotUnit/RobotUnitInterface.h>
30
#include <
RobotAPI/libraries/armem/server/segment/SpecializedCoreSegment.h
>
31
#include <
RobotAPI/libraries/armem/server/segment/SpecializedProviderSegment.h
>
32
#include <RobotAPI/libraries/armem_robot_state/aron/RobotDescription.aron.generated.h>
33
#include <
RobotAPI/libraries/armem_robot_state/server/forward_declarations.h
>
34
35
36
namespace
armarx::armem::server::robot_state::exteroception
37
{
38
39
class
Segment
:
public
segment::SpecializedCoreSegment
40
{
41
using
Base
=
segment::SpecializedCoreSegment
;
42
43
public
:
44
Segment
(
server::MemoryToIceAdapter
&
iceMemory
);
45
~Segment
()
override
;
46
47
48
// void onConnect(const RobotUnitInterfacePrx& robotUnitPrx);
49
50
51
private
:
52
// RobotUnitInterfacePrx robotUnit;
53
};
54
55
}
// namespace armarx::armem::server::robot_state::exteroception
armarx::armem::server::segment::SpecializedCoreSegment
A base class for core segments.
Definition:
SpecializedCoreSegment.h:20
armarx::armem::server::MemoryToIceAdapter
Helps connecting a Memory server to the Ice interface.
Definition:
MemoryToIceAdapter.h:19
armarx::armem::server::robot_state::exteroception::Segment::Segment
Segment(server::MemoryToIceAdapter &iceMemory)
Definition:
Segment.cpp:31
forward_declarations.h
armarx::armem::server::segment::detail::SegmentBase< server::wm::CoreSegment >
armarx::armem::server::robot_state::exteroception
Definition:
ArmarDEConverter.cpp:18
armarx::armem::server::robot_state::exteroception::Segment
Definition:
Segment.h:39
armarx::armem::server::robot_state::exteroception::Segment::~Segment
~Segment() override
armarx::armem::server::segment::detail::SegmentBase< server::wm::CoreSegment >::iceMemory
MemoryToIceAdapter & iceMemory
Definition:
SpecializedSegment.h:60
SpecializedProviderSegment.h
SpecializedCoreSegment.h
RobotAPI
libraries
armem_robot_state
server
exteroception
Segment.h
Generated on Sat Oct 12 2024 09:14:09 for armarx_documentation by
1.8.17