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
26
27namespace visionx
28{
31 {
34
35 def->topic<armarx::semantic::GraphStorageTopic>("SemanticGraphTopic",
36 "SemanticGraphTopicName");
37 def->optional(graphId, "GraphId", "Id of the graph to be accepted");
38 return def;
39 }
40
41 std::string
43 {
44 return "SimpleEpisodicMemorySemanticGraphConnector";
45 }
46
47 std::string
52
53 void
58
59 void
64
65 void
69
70 void
74
75 void
77 std::string const& id,
78 armarx::semantic::data::Graph const& graph,
79 const Ice::Current&)
80 {
81 if (id == graphId)
82 {
83 //semrel::AttributedGraph
84 //m_simple_episodic_memory->registerGraph();
85 }
86 }
87
88
90} // namespace visionx
#define ARMARX_REGISTER_COMPONENT_EXECUTABLE(ComponentT, applicationName)
Definition Decoupled.h:29
Default component property definition container.
Definition Component.h:70
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
Definition Component.cpp:90
bool usingProxy(const std::string &name, const std::string &endpoints="")
Registers a proxy for retrieval after initialization and adds it to the dependency list.
Ice::ObjectPrx getProxy(long timeoutMs=0, bool waitForScheduler=true) const
Returns the proxy of this object (optionally it waits for the proxy)
memoryx::SimpleEpisodicMemoryInterface::ProxyType m_simple_episodic_memory
void reportGraph(std::string const &id, armarx::semantic::data::Graph const &graph, const Ice::Current &) override
std::string getDefaultName() const override
Retrieve default name of component.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
ArmarX headers.