LaserScansMemory.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  * @author Fabian Reister ( fabian dot reister at kit dot edu )
17  * @date 2022
18  * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
19  * GNU General Public License
20  */
21 
22 #pragma once
23 
26 
28 
34 
36 {
37  /**
38  * @defgroup Component-GeneralPurposeMemory GeneralPurposeMemory
39  * @ingroup RobotAPI-Components
40  * A description of the component GeneralPurposeMemory.
41  *SpecializedCoreSegment
42  * @class GeneralPurposeMemory
43  * @ingroup Component-GeneralPurposeMemory
44  * @brief Brief description of class GeneralPurposeMemory.
45  *
46  * Detailed description of class GeneralPurposeMemory.
47  */
49  virtual public armarx::Component,
52  {
53  public:
55 
56  /// @see armarx::ManagedIceObject::getDefaultName()
57  std::string getDefaultName() const override;
58 
59  armem::data::AddSegmentsResult addSegments(const armem::data::AddSegmentsInput& input,
60  const Ice::Current&) override;
61 
62  protected:
63  /// @see PropertyUser::createPropertyDefinitions()
65 
66  /// @see armarx::ManagedIceObject::onInitComponent()
67  void onInitComponent() override;
68 
69  /// @see armarx::ManagedIceObject::onConnectComponent()
70  void onConnectComponent() override;
71 
72  /// @see armarx::ManagedIceObject::onDisconnectComponent()
73  void onDisconnectComponent() override;
74 
75  /// @see armarx::ManagedIceObject::onExitComponent()
76  void onExitComponent() override;
77 
78  private:
79  bool addCoreSegmentOnUsage = true;
80 
82  virtualRobotReaderPlugin = nullptr;
83 
84  armarx::plugins::DebugObserverComponentPlugin* debugObserver = nullptr;
85 
86 
87  Visu commonVisu;
88  };
89 } // namespace armarx::armem::server::laser_scans
ArVizComponentPlugin.h
armarx::armem::server::laser_scans::LaserScansMemory::onExitComponent
void onExitComponent() override
Definition: LaserScansMemory.cpp:91
armarx::armem::server::laser_scans::LaserScansMemory::createPropertyDefinitions
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
Definition: LaserScansMemory.cpp:44
armarx::armem::server::laser_scans::LaserScansMemory::onInitComponent
void onInitComponent() override
Definition: LaserScansMemory.cpp:68
armarx::armem::client::plugins::ReaderWriterPlugin< armarx::armem::robot_state::VirtualRobotReader >
ReadWritePluginUser.h
ReaderWriterPlugin.h
armarx::armem::server::laser_scans::LaserScansMemory::addSegments
armem::data::AddSegmentsResult addSegments(const armem::data::AddSegmentsInput &input, const Ice::Current &) override
Definition: LaserScansMemory.cpp:97
armarx::armem::server::laser_scans
This file is part of ArmarX.
Definition: LaserScansMemory.cpp:35
LightweightRemoteGuiComponentPlugin.h
armarx::armem::server::laser_scans::LaserScansMemory
Definition: LaserScansMemory.h:48
armarx::ArVizComponentPluginUser
Provides a ready-to-use ArViz client arviz as member variable.
Definition: ArVizComponentPlugin.h:36
armarx::armem::server::laser_scans::LaserScansMemory::LaserScansMemory
LaserScansMemory()
Definition: LaserScansMemory.cpp:37
armarx::armem::server::laser_scans::Visu
Models decay of object localizations by decreasing the confidence the longer the object was not local...
Definition: Visu.h:53
armarx::aron::input
ReaderT::InputType & input
Definition: rw.h:19
armarx::armem::server::plugins::ReadWritePluginUser
Base class of memory server components.
Definition: ReadWritePluginUser.h:20
Visu.h
DebugObserverComponentPlugin.h
armarx::armem::server::laser_scans::LaserScansMemory::onConnectComponent
void onConnectComponent() override
Definition: LaserScansMemory.cpp:78
armarx::armem::server::laser_scans::LaserScansMemory::getDefaultName
std::string getDefaultName() const override
Definition: LaserScansMemory.cpp:61
VirtualRobotReader.h
armarx::armem::server::laser_scans::LaserScansMemory::onDisconnectComponent
void onDisconnectComponent() override
Definition: LaserScansMemory.cpp:85
Component.h
armarx::Component
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Definition: Component.h:95
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::plugins::DebugObserverComponentPlugin
Brief description of class DebugObserverComponentPlugin.
Definition: DebugObserverComponentPlugin.h:48