DummyCriterion.cpp
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 RobotComponents
17 * @author Valerij Wittenbeck ( valerij.wittenbeck at student dot kit dot edu)
18 * @date 2016
19 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20 * GNU General Public License
21 */
22 
23 #include "DummyCriterion.h"
24 
29 
30 using namespace armarx;
31 
33 {
34 }
35 
37 {
38  // usingProxy("LongtermMemory");
39 }
40 
42 {
43  // This would automatically add the SelectionCriterion
44  // graspSelectionManager = getProxy<GraspSelectionManagerInterfacePrx>(getProperty<std::string>("GraspSelectionManagerName").getValue());
45  // graspSelectionManager->registerAsGraspSelectionCriterion(GraspSelectionCriterionInterfacePrx::uncheckedCast(getProxy()));
46 }
47 
48 std::string DummyCriterion::getDefaultName() const
49 {
50  return "DummyCriterion";
51 }
52 
53 GeneratedGraspList DummyCriterion::filterGrasps(const GeneratedGraspList& grasps, const Ice::Current&)
54 {
55  return grasps;
56 }
57 
58 GraspingPlacementList DummyCriterion::filterPlacements(const GraspingPlacementList& placements, const Ice::Current&)
59 {
60  return placements;
61 }
armarx::DummyCriterion::filterGrasps
GeneratedGraspList filterGrasps(const GeneratedGraspList &grasps, const Ice::Current &) override
Definition: DummyCriterion.cpp:53
armarx::DummyCriterion::onConnectGraspSelectionCriterion
void onConnectGraspSelectionCriterion() override
Definition: DummyCriterion.cpp:41
armarx::DummyCriterion::onInitGraspSelectionCriterion
void onInitGraspSelectionCriterion() override
Definition: DummyCriterion.cpp:36
DummyCriterion.h
armarx::DummyCriterion::DummyCriterion
DummyCriterion()
Definition: DummyCriterion.cpp:32
FramedPose.h
MemoryXCoreObjectFactories.h
ObjectInstance.h
MemoryXTypesObjectFactories.h
armarx::DummyCriterion::filterPlacements
GraspingPlacementList filterPlacements(const GraspingPlacementList &placements, const Ice::Current &) override
Definition: DummyCriterion.cpp:58
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28
armarx::DummyCriterion::getDefaultName
std::string getDefaultName() const override
Retrieve default name of component.
Definition: DummyCriterion.cpp:48