OnTopPredicateProvider.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 ArmarX::
17 * @author Mirko Waechter ( mirko.waechter at kit dot edu)
18 * @date 2014
19 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20 * GNU General Public License
21 */
22 
23 
24 #pragma once
26 #include <MemoryX/interface/memorytypes/MemorySegments.h>
27 #include <MemoryX/interface/components/WorkingMemoryInterface.h>
28 
29 
30 
31 namespace memoryx
32 {
33 
35  {
36  public:
38 
39  // ManagedIceObject interface
40  protected:
41  void onInitWorldStateUpdater() override;
42  void onConnectWorldStateUpdater() override;
43  std::string getDefaultName() const override;
44 
45  // WorldStateUpdaterInterface interface
46  public:
47  PredicateInfo getPredicateInfo(const Ice::Current& c = Ice::emptyCurrent);
48  PredicateInstanceList calcPredicates(const Ice::Current&) override;
49  private:
50  WorkingMemoryInterfacePrx workingMemoryProxy;
51  ObjectInstanceMemorySegmentBasePrx objectInstancesProxy;
52  WorldStateObserverInterfacePrx wsObs;
53 
54  };
55 
56 } // namespace memoryx
57 
memoryx::OnTopPredicateProvider::onInitWorldStateUpdater
void onInitWorldStateUpdater() override
Definition: OnTopPredicateProvider.cpp:38
memoryx::OnTopPredicateProvider
Definition: OnTopPredicateProvider.h:34
memoryx::OnTopPredicateProvider::calcPredicates
PredicateInstanceList calcPredicates(const Ice::Current &) override
Definition: OnTopPredicateProvider.cpp:61
memoryx::OnTopPredicateProvider::OnTopPredicateProvider
OnTopPredicateProvider()
Definition: OnTopPredicateProvider.cpp:32
memoryx
VirtualRobot headers.
Definition: CommonPlacesTester.cpp:48
c
constexpr T c
Definition: UnscentedKalmanFilterTest.cpp:43
memoryx::WorldStateUpdaterBase
Definition: WorldStateUpdaterBase.h:44
memoryx::OnTopPredicateProvider::onConnectWorldStateUpdater
void onConnectWorldStateUpdater() override
Definition: OnTopPredicateProvider.cpp:44
WorldStateUpdaterBase.h
memoryx::OnTopPredicateProvider::getDefaultName
std::string getDefaultName() const override
Retrieve default name of component.
Definition: OnTopPredicateProvider.cpp:50
memoryx::OnTopPredicateProvider::getPredicateInfo
PredicateInfo getPredicateInfo(const Ice::Current &c=Ice::emptyCurrent)
Definition: OnTopPredicateProvider.cpp:55