Parameter.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 <ostream>
28
#include <string>
29
30
#include <
ArmarXCore/core/system/ImportExport.h
>
31
#include <ArmarXCore/interface/observers/ParameterBase.h>
32
#include <ArmarXCore/interface/observers/VariantBase.h>
33
#include <
ArmarXCore/observers/variant/Variant.h
>
34
35
namespace
armarx
36
{
37
class
Parameter;
38
/**
39
* Typedef of ParameterPtr as IceInternal::Handle<Parameter> for convenience.
40
*/
41
using
ParameterPtr
=
IceInternal::Handle<Parameter>
;
42
43
/**
44
*/
45
class
ARMARXCORE_IMPORT_EXPORT
Parameter
:
virtual
public
ParameterBase
46
{
47
public
:
48
/**
49
* Creates an empty Parameter. Required for Ice ObjectFactory
50
*/
51
Parameter
()
52
{
53
}
54
55
Parameter
(
const
Parameter
&
source
);
56
virtual
Parameter
& operator=(
const
Parameter
&
source
);
57
58
ParameterBasePtr clone(
const
Ice::Current&
c
= Ice::emptyCurrent)
const override
;
59
// setter
60
void
setVariant(
const
VariantBasePtr
& variant,
61
const
Ice::Current&
c
= Ice::emptyCurrent)
override
;
62
void
setVariantList(
const
SingleTypeVariantListBasePtr& variantList,
63
const
Ice::Current&
c
= Ice::emptyCurrent)
override
;
64
void
setDataFieldIdentifier(
const
DataFieldIdentifierBasePtr
& dataFieldIdentifier,
65
const
Ice::Current&
c
= Ice::emptyCurrent)
override
;
66
67
68
// getter
69
ParameterType getParameterType(
const
Ice::Current&
c
= Ice::emptyCurrent)
const override
;
70
VariantTypeId
getVariantType(
const
Ice::Current&
c
= Ice::emptyCurrent)
const override
;
71
VariantBasePtr
getVariant(
const
Ice::Current&
c
= Ice::emptyCurrent)
const override
;
72
SingleTypeVariantListBasePtr
73
getVariantList(
const
Ice::Current&
c
= Ice::emptyCurrent)
const override
;
74
DataFieldIdentifierBasePtr
75
getDataFieldIdentifier(
const
Ice::Current&
c
= Ice::emptyCurrent)
const override
;
76
77
bool
validate
(
const
Ice::Current&
c
= Ice::emptyCurrent)
const override
;
78
};
79
}
// namespace armarx
armarx::Parameter::Parameter
Parameter()
Creates an empty Parameter.
Definition:
Parameter.h:51
armarx::Parameter
Definition:
Parameter.h:45
c
constexpr T c
Definition:
UnscentedKalmanFilterTest.cpp:46
IceInternal::Handle
Definition:
forward_declarations.h:8
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
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
Variant.h
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition:
ArmarXTimeserver.cpp:27
ArmarXCore
observers
parameter
Parameter.h
Generated on Sat Apr 12 2025 09:13:29 for armarx_documentation by
1.8.17