SystemStateMemory.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 Rainer Kartmann ( rainer dot kartmann 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 
23 #pragma once
24 
25 
28 
31 
32 namespace armarx
33 {
35  virtual public armarx::Component
36  , virtual public armem::server::ReadWritePluginUser
37  {
38  public:
39 
41 
42  /// @see armarx::ManagedIceObject::getDefaultName()
43  std::string getDefaultName() const override;
44 
45  protected:
46 
48 
49  void onInitComponent() override;
50  void onConnectComponent() override;
51  void onDisconnectComponent() override;
52  void onExitComponent() override;
53 
54 
55  private:
56 
59 
60  };
61 }
armarx::SystemStateMemory::onExitComponent
void onExitComponent() override
Hook for subclass.
Definition: SystemStateMemory.cpp:68
armarx::SystemStateMemory::SystemStateMemory
SystemStateMemory()
Definition: SystemStateMemory.cpp:39
CPUSegment.h
ReadWritePluginUser.h
armarx::SystemStateMemory::createPropertyDefinitions
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
Definition: SystemStateMemory.cpp:27
armarx::SystemStateMemory::getDefaultName
std::string getDefaultName() const override
Definition: SystemStateMemory.cpp:45
armarx::SystemStateMemory
Definition: SystemStateMemory.h:34
armarx::armem::server::systemstate::segment::LightweightCpuMonitorProviderSegment
Definition: CPUSegment.h:27
armarx::armem::server::plugins::ReadWritePluginUser
Base class of memory server components.
Definition: ReadWritePluginUser.h:20
armarx::SystemStateMemory::onDisconnectComponent
void onDisconnectComponent() override
Hook for subclass.
Definition: SystemStateMemory.cpp:63
Component.h
armarx::Component
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Definition: Component.h:95
IceUtil::Handle< class PropertyDefinitionContainer >
RAMSegment.h
armarx::SystemStateMemory::onInitComponent
void onInitComponent() override
Pure virtual hook for the subclass.
Definition: SystemStateMemory.cpp:51
armarx::armem::server::systemstate::segment::LightweightRamMonitorProviderSegment
Definition: RAMSegment.h:27
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28
armarx::SystemStateMemory::onConnectComponent
void onConnectComponent() override
Pure virtual hook for the subclass.
Definition: SystemStateMemory.cpp:58