PoseSegment.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
* @package VisionX::ArmarXObjects::armem_images_server
17
* @author Rainer Kartmann ( rainer dot kartmann at kit dot edu )
18
* @date 2021
19
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20
* GNU General Public License
21
*/
22
23
#pragma once
24
25
#include <map>
26
#include <string>
27
28
#include <
ArmarXCore/core/time_minimal.h
>
29
30
#include <
RobotAPI/libraries/armem/server/segment/SpecializedSegment.h
>
31
32
#include <
VisionX/libraries/armem_human/types.h
>
33
34
35
namespace
armarx::armem::server::human
36
{
37
class
PoseSegment
:
public
armem::server::segment::SpecializedCoreSegment
38
{
39
public
:
40
using
Base
=
armem::server::segment::SpecializedCoreSegment
;
41
42
PoseSegment
(
armem::server::MemoryToIceAdapter
&
iceMemory
);
43
44
virtual
void
defineProperties
(
armarx::PropertyDefinitionsPtr
defs,
45
const
std::string& prefix =
""
)
override
;
46
47
std::map<std::string, std::vector<armarx::armem::human::HumanPose>>
48
getHumanPoseEntities
(
const
Duration
& maxAge)
const
;
49
50
public
:
51
static
const
std::string
CORE_SEGMENT_NAME
;
52
};
53
}
// namespace armarx::armem::server::human
SpecializedSegment.h
armarx::armem::server::human::PoseSegment::getHumanPoseEntities
std::map< std::string, std::vector< armarx::armem::human::HumanPose > > getHumanPoseEntities(const Duration &maxAge) const
Definition:
PoseSegment.cpp:51
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::human::PoseSegment::CORE_SEGMENT_NAME
static const std::string CORE_SEGMENT_NAME
Definition:
PoseSegment.h:51
armarx::armem::server::human::PoseSegment
Definition:
PoseSegment.h:37
armarx::armem::server::human::PoseSegment::PoseSegment
PoseSegment(armem::server::MemoryToIceAdapter &iceMemory)
Definition:
PoseSegment.cpp:39
types.h
armarx::armem::server::segment::detail::SegmentBase< server::wm::CoreSegment >
armarx::armem::server::human::PoseSegment::defineProperties
virtual void defineProperties(armarx::PropertyDefinitionsPtr defs, const std::string &prefix="") override
Definition:
PoseSegment.cpp:45
armarx::armem::server::segment::detail::SegmentBase< server::wm::CoreSegment >::iceMemory
MemoryToIceAdapter & iceMemory
Definition:
SpecializedSegment.h:60
armarx::armem::server::human
Definition:
aron_conversions.cpp:11
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::core::time::Duration
Represents a duration.
Definition:
Duration.h:17
time_minimal.h
VisionX
libraries
armem_human
server
PoseSegment.h
Generated on Sat Oct 12 2024 09:14:18 for armarx_documentation by
1.8.17