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
26
27namespace armarx
28{
29 std::string
31 {
32 return "DummyWorldStateObserver";
33 }
34
35 void
39
40 void
44
45 void
49
50 void
54
61
62 memoryx::PredicateInstanceList
64 {
65 ARMARX_WARNING << "getWorldState is a stub";
66
67 std::vector<memoryx::PredicateInstance> result;
68 return result;
69 }
70
71 bool
72 DummyWorldStateObserver::isObservable(const std::string& predicateName, const Ice::Current&)
73 {
74 ARMARX_WARNING << "isObservable is a stub";
75 return false;
76 }
77
78 bool
79 DummyWorldStateObserver::updatePredicateValue(const memoryx::PredicateInstance& pi,
80 bool removePredicate,
81 const Ice::Current&)
82 {
83 ARMARX_WARNING << "updatePredicateValue is a stub";
84 return true;
85 }
86
87 void
89 const memoryx::EntityBaseList& argumentWhitelist,
90 const Ice::Current&)
91 {
92 ARMARX_WARNING << "setPredicateArgumentWhitelist is a stub";
93 }
94
95 void
97 {
98 ARMARX_WARNING << "resetPredicateArgumentWhitelist is a stub";
99 }
100
101 void
103 const memoryx::PredicateInstanceList& predicates,
104 const Ice::Current&)
105 {
106 ARMARX_WARNING << "addObservablePredicateInstances is a stub";
107 }
108
109 void
111 const std::string& name,
112 const memoryx::WorldStateUpdaterInterfacePrx& updater,
113 const Ice::Current&)
114 {
115 ARMARX_WARNING << "registerAsUpdater is a stub";
116 }
117
118 memoryx::WorldStateUpdaterInterfaceList
120 {
121 ARMARX_WARNING << "getRegisteredUpdaters is a stub";
122
123 std::vector<memoryx::WorldStateUpdaterInterfacePrx> result;
124 return result;
125 }
126} // namespace armarx
127
#define pi
#define ARMARX_REGISTER_COMPONENT_EXECUTABLE(ComponentT, applicationName)
Definition Decoupled.h:29
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
Definition Component.cpp:90
Brief description of class DummyWorldStateObserver.
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.