SimpleEpisodicMemorySemanticGraphConnector.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 VisionX::ArmarXObjects::SimpleEpisodicMemorySemanticGraphConnector
17  * @author fabian.peller-konrad@kit.edu ( fabian dot peller-konrad at kit dot edu )
18  * @date 2020
19  * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20  * GNU General Public License
21  */
22 
24 
25 namespace visionx
26 {
29  {
32 
33  def->topic<armarx::semantic::GraphStorageTopic>("SemanticGraphTopic",
34  "SemanticGraphTopicName");
35  def->optional(graphId, "GraphId", "Id of the graph to be accepted");
36  return def;
37  }
38 
39  std::string
41  {
42  return "SimpleEpisodicMemorySemanticGraphConnector";
43  }
44 
45  void
47  {
49  }
50 
51  void
53  {
55  }
56 
57  void
59  {
60  }
61 
62  void
64  {
65  }
66 
67  void
69  std::string const& id,
70  armarx::semantic::data::Graph const& graph,
71  const Ice::Current&)
72  {
73  if (id == graphId)
74  {
75  //semrel::AttributedGraph
76  //m_simple_episodic_memory->registerGraph();
77  }
78  }
79 
80 } // namespace visionx
visionx::SimpleEpisodicMemorySemanticGraphConnector::onInitComponent
void onInitComponent() override
Definition: SimpleEpisodicMemorySemanticGraphConnector.cpp:46
visionx::SimpleEpisodicMemorySemanticGraphConnector::getDefaultName
std::string getDefaultName() const override
Definition: SimpleEpisodicMemorySemanticGraphConnector.cpp:40
visionx
ArmarX headers.
Definition: OpenPoseStressTest.h:38
visionx::SimpleEpisodicMemorySemanticGraphConnector::onExitComponent
void onExitComponent() override
Definition: SimpleEpisodicMemorySemanticGraphConnector.cpp:63
visionx::SimpleEpisodicMemorySemanticGraphConnector::reportGraph
void reportGraph(std::string const &id, armarx::semantic::data::Graph const &graph, const Ice::Current &) override
Definition: SimpleEpisodicMemorySemanticGraphConnector.cpp:68
visionx::SimpleEpisodicMemorySemanticGraphConnector::onConnectComponent
void onConnectComponent() override
Definition: SimpleEpisodicMemorySemanticGraphConnector.cpp:52
armarx::Graph
boost::subgraph< CloudGraph > Graph
Definition: Common.h:58
memoryx::SimpleEpisodicMemoryConnector::m_simple_episodic_memory
memoryx::SimpleEpisodicMemoryInterface::ProxyType m_simple_episodic_memory
Definition: SimpleEpisodicMemoryConnector.h:39
SimpleEpisodicMemorySemanticGraphConnector.h
armarx::Component::getConfigIdentifier
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
Definition: Component.cpp:79
armarx::ComponentPropertyDefinitions
Default component property definition container.
Definition: Component.h:69
IceUtil::Handle
Definition: forward_declarations.h:30
visionx::SimpleEpisodicMemorySemanticGraphConnector::onDisconnectComponent
void onDisconnectComponent() override
Definition: SimpleEpisodicMemorySemanticGraphConnector.cpp:58
memoryx::SimpleEpisodicMemoryConnector::m_simple_episodic_memory_proxy_name
std::string m_simple_episodic_memory_proxy_name
Definition: SimpleEpisodicMemoryConnector.h:38
armarx::ManagedIceObject::getProxy
Ice::ObjectPrx getProxy(long timeoutMs=0, bool waitForScheduler=true) const
Returns the proxy of this object (optionally it waits for the proxy)
Definition: ManagedIceObject.cpp:407
visionx::SimpleEpisodicMemorySemanticGraphConnector::createPropertyDefinitions
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
Definition: SimpleEpisodicMemorySemanticGraphConnector.cpp:28
armarx::ManagedIceObject::usingProxy
bool usingProxy(const std::string &name, const std::string &endpoints="")
Registers a proxy for retrieval after initialization and adds it to the dependency list.
Definition: ManagedIceObject.cpp:154