VariantListParameter.h
Go to the documentation of this file.
1
/*
2
* This file is part of ArmarX.
3
*
4
* Copyright (C) 2011-2016, High Performance Humanoid Technologies (H2T), Karlsruhe Institute of Technology (KIT), all rights reserved.
5
*
6
* ArmarX is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License version 2 as
8
* published by the Free Software Foundation.
9
*
10
* ArmarX is distributed in the hope that it will be useful, but
11
* WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*
18
* @package ArmarX::Core
19
* @author Kai Welke (welke _at_ kit _dot_ edu)
20
* @date 2012 Kai Welke
21
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
22
* GNU General Public License
23
*/
24
25
#pragma once
26
27
#include <string>
28
29
#include <
ArmarXCore/core/system/ImportExport.h
>
30
#include <ArmarXCore/interface/observers/ParameterBase.h>
31
#include <
ArmarXCore/observers/parameter/Parameter.h
>
32
#include <
ArmarXCore/observers/variant/SingleTypeVariantList.h
>
33
34
namespace
armarx
35
{
36
class
VariantListParameter;
37
/**
38
* Typedef of VariantListParameterPtr as IceInternal::Handle<VariantListParameter> for convenience.
39
*/
40
using
VariantListParameterPtr
=
IceInternal::Handle<VariantListParameter>
;
41
42
/**
43
*/
44
class
ARMARXCORE_IMPORT_EXPORT
VariantListParameter
:
45
virtual
public
Parameter
,
46
virtual
public
VariantListParameterBase
47
{
48
public
:
49
/**
50
* Creates an empty Parameter. Required for Ice ObjectFactory
51
*/
52
VariantListParameter
()
53
{
54
type = eVariantListParam;
55
}
56
57
VariantListParameter
(
const
VariantListParameter
&
source
);
58
Parameter
& operator=(
const
Parameter
&
source
)
override
;
59
VariantListParameter
(
const
SingleTypeVariantList
&
source
);
60
61
ParameterBasePtr clone(
const
Ice::Current&
c
= Ice::emptyCurrent)
const override
;
62
// setter
63
void
setVariantList(
const
SingleTypeVariantListBasePtr& variantList,
64
const
Ice::Current&
c
= Ice::emptyCurrent)
override
;
65
66
// getter
67
VariantTypeId
getVariantType(
const
Ice::Current&
c
= Ice::emptyCurrent)
const override
;
68
SingleTypeVariantListBasePtr
69
getVariantList(
const
Ice::Current&
c
= Ice::emptyCurrent)
const override
;
70
71
bool
validate
(
const
Ice::Current&
c
)
const override
;
72
};
73
}
// namespace armarx
armarx::VariantListParameter
Definition:
VariantListParameter.h:44
SingleTypeVariantList.h
armarx::VariantListParameter::VariantListParameter
VariantListParameter()
Creates an empty Parameter.
Definition:
VariantListParameter.h:52
armarx::Parameter
Definition:
Parameter.h:45
c
constexpr T c
Definition:
UnscentedKalmanFilterTest.cpp:46
IceInternal::Handle
Definition:
forward_declarations.h:8
armarx::SingleTypeVariantList
The SingleTypeVariantList class is a subclass of VariantContainer and is comparable to a std::vector<...
Definition:
SingleTypeVariantList.h:46
armarx::VariantTypeId
Ice::Int VariantTypeId
Definition:
Variant.h:43
boost::source
Vertex source(const detail::edge_base< Directed, Vertex > &e, const PCG &)
Definition:
point_cloud_graph.h:661
Parameter.h
armarx::navigation::client::validate
void validate(const std::vector< WaypointTarget > &path)
Definition:
ice_conversions.h:70
ImportExport.h
ARMARXCORE_IMPORT_EXPORT
#define ARMARXCORE_IMPORT_EXPORT
Definition:
ImportExport.h:38
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition:
ArmarXTimeserver.cpp:27
ArmarXCore
observers
parameter
VariantListParameter.h
Generated on Sat Mar 29 2025 09:17:21 for armarx_documentation by
1.8.17