OLPEvaluation.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 VisionX::ArmarXObjects::OLPEvaluation
19 * @author David ( david dot schiebener at kit dot edu )
20 * @date 2015
21 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
22 * GNU General Public License
23 */
24
25#pragma once
26
27
29
30#include <RobotAPI/interface/units/KinematicUnitInterface.h>
31
32#include <VisionX/interface/components/Calibration.h>
33#include <VisionX/interface/components/ObjectLearningByPushing.h>
34
35namespace visionx
36{
37 /**
38 * @class OLPEvaluationPropertyDefinitions
39 * @brief
40 */
42 {
43 public:
46 {
48 "OLPName", "ObjectLearningByPushing", "Description");
50 "OLPObserverName", "ObjectLearningByPushingObserver", "Description");
52 "ImageProviderName", "ImageSequenceProvider", "Description");
53 defineOptionalProperty<std::string>("KinematicUnitName",
54 "Armar3KinematicUnit",
55 "Name of the kinematic unit that should be used");
57 "TestRecognition", false, "Set true to evaluate the object recognition");
58 }
59 };
60
61 /**
62 * @defgroup Component-OLPEvaluation OLPEvaluation
63 * @ingroup VisionX-Components
64 * A description of the component OLPEvaluation.
65 *
66 * @class OLPEvaluation
67 * @ingroup Component-OLPEvaluation
68 * @brief Brief description of class OLPEvaluation.
69 *
70 * Detailed description of class OLPEvaluation.
71 */
72 class OLPEvaluation : virtual public armarx::Component
73 {
74 public:
75 /**
76 * @see armarx::ManagedIceObject::getDefaultName()
77 */
78 std::string
79 getDefaultName() const override
80 {
81 return "OLPEvaluation";
82 }
83
84 protected:
85 /**
86 * @see armarx::ManagedIceObject::onInitComponent()
87 */
88 void onInitComponent() override;
89
90 /**
91 * @see armarx::ManagedIceObject::onConnectComponent()
92 */
93 void onConnectComponent() override;
94
95 /**
96 * @see armarx::ManagedIceObject::onDisconnectComponent()
97 */
98 void onDisconnectComponent() override;
99
100 /**
101 * @see armarx::ManagedIceObject::onExitComponent()
102 */
103 void onExitComponent() override;
104
105 /**
106 * @see PropertyUser::createPropertyDefinitions()
107 */
109
110 public:
111 ObjectLearningByPushingInterfacePrx olpProxy;
112 ObjectLearningByPushingListenerPrx olpObserverProxy;
113 ImageFileSequenceProviderInterfacePrx imageProviderProxy;
114 armarx::KinematicUnitInterfacePrx kinematicUnitProxy;
115 };
116} // namespace visionx
Default component property definition container.
Definition Component.h:70
ComponentPropertyDefinitions(std::string prefix, bool hasObjectNameParameter=true)
Definition Component.cpp:46
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Definition Component.h:94
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
PropertyDefinition< PropertyType > & defineOptionalProperty(const std::string &name, PropertyType defaultValue, const std::string &description="", PropertyDefinitionBase::PropertyConstness constness=PropertyDefinitionBase::eConstant)
OLPEvaluationPropertyDefinitions(std::string prefix)
Brief description of class OLPEvaluation.
void onInitComponent() override
ObjectLearningByPushingInterfacePrx olpProxy
ImageFileSequenceProviderInterfacePrx imageProviderProxy
void onDisconnectComponent() override
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void onConnectComponent() override
ObjectLearningByPushingListenerPrx olpObserverProxy
void onExitComponent() override
std::string getDefaultName() const override
armarx::KinematicUnitInterfacePrx kinematicUnitProxy
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
ArmarX headers.