DummyWorldStateObserver.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 MemoryX::ArmarXObjects::DummyWorldStateObserver
17 * @author Peter Kaiser ( peter dot kaiser at kit dot edu )
18 * @date 2016
19 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20 * GNU General Public License
21 */
22
24
25namespace armarx
26{
27 void
31
32 void
36
37 void
41
42 void
46
53
54 memoryx::PredicateInstanceList
56 {
57 ARMARX_WARNING << "getWorldState is a stub";
58
59 std::vector<memoryx::PredicateInstance> result;
60 return result;
61 }
62
63 bool
64 DummyWorldStateObserver::isObservable(const std::string& predicateName, const Ice::Current&)
65 {
66 ARMARX_WARNING << "isObservable is a stub";
67 return false;
68 }
69
70 bool
71 DummyWorldStateObserver::updatePredicateValue(const memoryx::PredicateInstance& pi,
72 bool removePredicate,
73 const Ice::Current&)
74 {
75 ARMARX_WARNING << "updatePredicateValue is a stub";
76 return true;
77 }
78
79 void
81 const memoryx::EntityBaseList& argumentWhitelist,
82 const Ice::Current&)
83 {
84 ARMARX_WARNING << "setPredicateArgumentWhitelist is a stub";
85 }
86
87 void
89 {
90 ARMARX_WARNING << "resetPredicateArgumentWhitelist is a stub";
91 }
92
93 void
95 const memoryx::PredicateInstanceList& predicates,
96 const Ice::Current&)
97 {
98 ARMARX_WARNING << "addObservablePredicateInstances is a stub";
99 }
100
101 void
103 const std::string& name,
104 const memoryx::WorldStateUpdaterInterfacePrx& updater,
105 const Ice::Current&)
106 {
107 ARMARX_WARNING << "registerAsUpdater is a stub";
108 }
109
110 memoryx::WorldStateUpdaterInterfaceList
112 {
113 ARMARX_WARNING << "getRegisteredUpdaters is a stub";
114
115 std::vector<memoryx::WorldStateUpdaterInterfacePrx> result;
116 return result;
117 }
118} // namespace armarx
#define pi
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
Definition Component.cpp:90
virtual void onDisconnectComponent() override
virtual void resetPredicateArgumentWhitelist(const ::Ice::Current &) override
void addObservablePredicateInstances(const memoryx::PredicateInstanceList &predicates, const Ice::Current &) override
virtual void setPredicateArgumentWhitelist(const memoryx::EntityBaseList &argumentWhitelist, const Ice::Current &) override
virtual armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
virtual memoryx::PredicateInstanceList getWorldState(const ::Ice::Current &) override
memoryx::WorldStateUpdaterInterfaceList getRegisteredUpdaters(const Ice::Current &) override
void registerAsUpdater(const std::string &name, const memoryx::WorldStateUpdaterInterfacePrx &updater, const Ice::Current &) override
virtual bool updatePredicateValue(const memoryx::PredicateInstance &pi, bool removePredicate, const ::Ice::Current &) override
virtual bool isObservable(const ::std::string &predicateName, const ::Ice::Current &) override
#define ARMARX_WARNING
The logging level for unexpected behaviour, but not a serious problem.
Definition Logging.h:193
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.