ReasoningMemory.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 RobotAPI::ArmarXObjects::ExampleMemory
17  * @author Markus Grotz ( markus dot grotz at kit dot edu )
18  * @date 2022
19  * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20  * GNU General Public License
21  */
22 
23 #pragma once
24 
26 
29 
30 namespace armarx::armem::server
31 {
33  virtual public armarx::Component,
35  {
36  public:
38 
39  /// @see armarx::ManagedIceObject::getDefaultName()
40  std::string getDefaultName() const override;
41 
42  protected:
43 
45 
46  void onInitComponent() override;
47  void onConnectComponent() override;
48  void onDisconnectComponent() override;
49  void onExitComponent() override;
50 
51 
52  private:
53  reasoning::AnticipationSegment anticipationSegment;
54  };
55 }
armarx::armem::server::ReasoningMemory::onConnectComponent
void onConnectComponent() override
Pure virtual hook for the subclass.
Definition: ReasoningMemory.cpp:66
armarx::armem::server::ReasoningMemory::getDefaultName
std::string getDefaultName() const override
Definition: ReasoningMemory.cpp:50
armarx::armem::server::ReasoningMemory
Definition: ReasoningMemory.h:32
armarx::armem::server::reasoning::AnticipationSegment
Definition: AnticipationSegment.h:34
armarx::armem::server::ReasoningMemory::ReasoningMemory
ReasoningMemory()
Definition: ReasoningMemory.cpp:44
ReadWritePluginUser.h
armarx::armem::server::ReasoningMemory::createPropertyDefinitions
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
Definition: ReasoningMemory.cpp:35
armarx::armem::server::ReasoningMemory::onDisconnectComponent
void onDisconnectComponent() override
Hook for subclass.
Definition: ReasoningMemory.cpp:70
armarx::armem::server::plugins::ReadWritePluginUser
Base class of memory server components.
Definition: ReadWritePluginUser.h:20
AnticipationSegment.h
armarx::armem::server::ReasoningMemory::onExitComponent
void onExitComponent() override
Hook for subclass.
Definition: ReasoningMemory.cpp:74
Component.h
armarx::Component
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Definition: Component.h:95
armarx::armem::server
Definition: GraspMemory.cpp:19
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::armem::server::ReasoningMemory::onInitComponent
void onInitComponent() override
Pure virtual hook for the subclass.
Definition: ReasoningMemory.cpp:55