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
24#include <cstdint>
25
28
30
36
38{
39 /**
40 * @defgroup Component-GeneralPurposeMemory GeneralPurposeMemory
41 * @ingroup RobotAPI-Components
42 * A description of the component GeneralPurposeMemory.
43 *SpecializedCoreSegment
44 * @class GeneralPurposeMemory
45 * @ingroup Component-GeneralPurposeMemory
46 * @brief Brief description of class GeneralPurposeMemory.
47 *
48 * Detailed description of class GeneralPurposeMemory.
49 */
51 virtual public armarx::Component,
55 {
56 public:
58
59 /// @see armarx::ManagedIceObject::getDefaultName()
60 std::string getDefaultName() const override;
61
62 armem::data::AddSegmentsResult addSegments(const armem::data::AddSegmentsInput& input,
63 const Ice::Current&) override;
64
65 protected:
66 /// @see PropertyUser::createPropertyDefinitions()
68
69 /// @see armarx::ManagedIceObject::onInitComponent()
70 void onInitComponent() override;
71
72 /// @see armarx::ManagedIceObject::onConnectComponent()
73 void onConnectComponent() override;
74
75 /// @see armarx::ManagedIceObject::onDisconnectComponent()
76 void onDisconnectComponent() override;
77
78 /// @see armarx::ManagedIceObject::onExitComponent()
79 void onExitComponent() override;
80
81 void RemoteGui_update() override;
82
83 private:
84 struct CoreSegmentProperties
85 {
86 std::int64_t maxHistorySize = 100;
87 };
88
89 struct Properties
90 {
92 {
93 CoreSegmentProperties laserScans;
94 } coreSeg;
95 };
96
97 Properties properties_;
98
99 bool addCoreSegmentOnUsage = true;
100
102 virtualRobotReaderPlugin = nullptr;
103
104 armarx::plugins::DebugObserverComponentPlugin* debugObserver = nullptr;
105
106
107 Visu commonVisu;
108 };
109} // namespace armarx::armem::server::laser_scans
Provides a ready-to-use ArViz client arviz as member variable.
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Definition Component.h:94
A component plugin offering client-side access to a reader or writer and manages the lifecycle,...
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
armem::data::AddSegmentsResult addSegments(const armem::data::AddSegmentsInput &input, const Ice::Current &) override
Models decay of object localizations by decreasing the confidence the longer the object was not local...
Definition Visu.h:68
Base class of memory server components.
Brief description of class DebugObserverComponentPlugin.
This file is part of ArmarX.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.