RAMSegment.h
Go to the documentation of this file.
1 #pragma once
2 
3 // STD/STL
4 #include <iostream>
5 #include <csignal>
6 #include <memory>
7 #include <atomic>
8 #include <thread>
9 
10 // System Monitor
18 
19 // BaseClass
21 
22 // ArmarX
24 
26 {
28  {
30 
31  public:
33 
34  void defineProperties(armarx::PropertyDefinitionsPtr defs, const std::string& prefix = "") override;
35  void init() override;
36 
37  private:
38  void loop();
39 
40  private:
41  float pollFrequencyHz = 10;
42  std::unique_ptr<memoryLoad> memoryMonitoring = std::make_unique<memoryLoad>();
43 
45  };
46 }
linux_memoryload.hpp
armarx::armem::server::MemoryToIceAdapter
Helps connecting a Memory server to the Ice interface.
Definition: MemoryToIceAdapter.h:19
linux_cpuload.hpp
PeriodicTask.h
armarx::armem::server::segment::SpecializedProviderSegment
A base class for provider segments.
Definition: SpecializedProviderSegment.h:20
linux_process_load.hpp
linux_systemutil.hpp
timer.hpp
armarx::armem::server::systemstate::segment::LightweightRamMonitorProviderSegment::LightweightRamMonitorProviderSegment
LightweightRamMonitorProviderSegment(armem::server::MemoryToIceAdapter &iceMemory)
Definition: RAMSegment.cpp:16
armarx::armem::server::systemstate::segment::LightweightRamMonitorProviderSegment::init
void init() override
Definition: RAMSegment.cpp:27
armarx::armem::server::segment::detail::SegmentBase< server::wm::ProviderSegment >
linux_networkload.hpp
armarx::armem::server::segment::detail::SegmentBase< server::wm::ProviderSegment >::iceMemory
MemoryToIceAdapter & iceMemory
Definition: SpecializedSegment.h:60
IceUtil::Handle< class PropertyDefinitionContainer >
SpecializedProviderSegment.h
armarx::armem::server::systemstate::segment::LightweightRamMonitorProviderSegment
Definition: RAMSegment.h:27
record_value.hpp
armarx::armem::server::systemstate::segment::LightweightRamMonitorProviderSegment::defineProperties
void defineProperties(armarx::PropertyDefinitionsPtr defs, const std::string &prefix="") override
Definition: RAMSegment.cpp:22
armarx::armem::server::systemstate::segment
Definition: CPUSegment.cpp:14