WorldStateObserverApp.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::WorldStateObserver
17
* @author David Schiebener ( schiebener at kit dot edu)
18
* @date
19
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20
* GNU General Public License
21
*/
22
23
24
#include "
WorldStateObserver.h
"
25
#include <
MemoryX/components/WorldStateObserver/predicateProviders/AgentAtPredicateProvider.h
>
26
#include <
MemoryX/components/WorldStateObserver/predicateProviders/GraspablePredicateProvider.h
>
27
#include <
MemoryX/components/WorldStateObserver/predicateProviders/HandPredicateProvider.h
>
28
#include <
MemoryX/components/WorldStateObserver/predicateProviders/ObjectAtPredicateProvider.h
>
29
#include <
MemoryX/components/WorldStateObserver/predicateProviders/PutAwayLocationPredicateProvider.h
>
30
#include <
MemoryX/core/MemoryXApplication.h
>
31
32
namespace
memoryx
33
{
34
class
WorldStateObserverApp
:
virtual
public
armarx::Application
35
{
36
void
37
setup(
const
armarx::ManagedIceObjectRegistryInterfacePtr
& registry,
38
Ice::PropertiesPtr
properties)
override
39
{
40
registry->addObject(
armarx::Component::create<memoryx::WorldStateObserver>
(
41
properties,
"WorldStateObserver"
,
"MemoryX"
));
42
registry->addObject(
armarx::Component::create<memoryx::HandPredicateProvider>
(
43
properties,
"HandPredicateProvider"
,
"MemoryX"
));
44
registry->addObject(
armarx::Component::create<memoryx::AgentAtPredicateProvider>
(
45
properties,
"AgentAtPredicateProvider"
,
"MemoryX"
));
46
registry->addObject(
armarx::Component::create<memoryx::ObjectAtPredicateProvider>
(
47
properties,
"ObjectAtPredicateProvider"
,
"MemoryX"
));
48
registry->addObject(
armarx::Component::create<memoryx::GraspablePredicateProvider>
(
49
properties,
"GraspablePredicateProvider"
,
"MemoryX"
));
50
registry->addObject(
51
armarx::Component::create<memoryx::PutAwayLocationPredicateProvider>
(
52
properties,
"PutAwayLocationPredicateProvider"
,
"MemoryX"
));
53
}
54
};
55
}
// namespace memoryx
AgentAtPredicateProvider.h
GraspablePredicateProvider.h
HandPredicateProvider.h
MemoryXApplication.h
ObjectAtPredicateProvider.h
PutAwayLocationPredicateProvider.h
WorldStateObserver.h
armarx::Application
Baseclass for all ArmarX applications.
Definition
Application.h:194
armarx::Component::create
static TPtr create(Ice::PropertiesPtr properties=Ice::createProperties(), const std::string &configName="", const std::string &configDomain="ArmarX")
Factory method for a component.
Definition
Component.h:116
memoryx::WorldStateObserverApp
Definition
WorldStateObserverApp.h:35
Ice::PropertiesPtr
::IceInternal::Handle<::Ice::Properties > PropertiesPtr
Definition
PropertyDefinition.h:50
armarx::ManagedIceObjectRegistryInterfacePtr
IceUtil::Handle< ManagedIceObjectRegistryInterface > ManagedIceObjectRegistryInterfacePtr
Definition
Application.h:83
memoryx
VirtualRobot headers.
Definition
CommonPlacesTester.cpp:49
MemoryX
components
WorldStateObserver
WorldStateObserverApp.h
Generated by
1.13.2