OacParameterList.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 MemoryX::Core
17* @author Nils Adermann <naderman@naderman.de>
18* @date 2013
19* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20* GNU General Public License
21*/
22
23#pragma once
24
26
27#include <MemoryX/interface/memorytypes/MemoryEntities.h>
28
30{
32 armarx::Variant::addTypeName("::memoryx::OacParameterListBase");
33}
34
35namespace memoryx
36{
37 class OacParameterList;
39
40 class OacParameterList : virtual public OacParameterListBase
41 {
42 public:
43 std::vector<std::string> getNames(const Ice::Current& c = Ice::emptyCurrent) const override;
44 void setNames(const std::vector<std::string>& names,
45 const Ice::Current& c = Ice::emptyCurrent) override;
46
47 void serialize(const armarx::ObjectSerializerBasePtr& serializer,
48 const Ice::Current& c = Ice::emptyCurrent) const override;
49 void deserialize(const armarx::ObjectSerializerBasePtr& serializer,
50 const Ice::Current& c = Ice::emptyCurrent) override;
51
52 armarx::VariantDataClassPtr clone(const Ice::Current& c = Ice::emptyCurrent) const override;
53 std::string output(const Ice::Current& c = Ice::emptyCurrent) const override;
54 int getType(const Ice::Current& c = Ice::emptyCurrent) const override;
55
56 bool
57 validate(const Ice::Current& c = Ice::emptyCurrent) override
58 {
59 return true;
60 }
61
62 Ice::ObjectPtr
63 ice_clone() const override
64 {
65 return this->clone();
66 }
67 };
68} // namespace memoryx
constexpr T c
static VariantTypeId addTypeName(const std::string &typeName)
Register a new type for the use in a Variant.
Definition Variant.cpp:869
std::vector< std::string > getNames(const Ice::Current &c=Ice::emptyCurrent) const override
int getType(const Ice::Current &c=Ice::emptyCurrent) const override
std::string output(const Ice::Current &c=Ice::emptyCurrent) const override
void setNames(const std::vector< std::string > &names, const Ice::Current &c=Ice::emptyCurrent) override
void deserialize(const armarx::ObjectSerializerBasePtr &serializer, const Ice::Current &c=Ice::emptyCurrent) override
void serialize(const armarx::ObjectSerializerBasePtr &serializer, const Ice::Current &c=Ice::emptyCurrent) const override
bool validate(const Ice::Current &c=Ice::emptyCurrent) override
armarx::VariantDataClassPtr clone(const Ice::Current &c=Ice::emptyCurrent) const override
Ice::ObjectPtr ice_clone() const override
Ice::Int VariantTypeId
Definition Variant.h:43
const armarx::VariantTypeId OacParamterList
VirtualRobot headers.
IceInternal::Handle< OacParameterList > OacParameterListPtr