This class handles the mempool intropection for RouDi. It is recommended to use the MemPoolIntrospectionType alias which sets the intended template parameters required for the actual introspection. The class sends snapshots of the mempool usage to the introspection client if subscribed.
More...
#include <mempool_introspection.hpp>
|
MemoryManager * | m_rouDiInternalMemoryManager {nullptr} |
|
SegmentManager * | m_segmentManager {nullptr} |
|
PublisherPort | m_publisherPort {nullptr} |
|
template<typename MemoryManager, typename SegmentManager, typename PublisherPort>
class iox::roudi::MemPoolIntrospection< MemoryManager, SegmentManager, PublisherPort >
This class handles the mempool intropection for RouDi. It is recommended to use the MemPoolIntrospectionType alias which sets the intended template parameters required for the actual introspection. The class sends snapshots of the mempool usage to the introspection client if subscribed.
◆ MemPoolIntrospection()
template<typename MemoryManager , typename SegmentManager , typename PublisherPort >
The constructor for the MemPoolIntrospection. It starts a thread and set it into a wait condition.
- Parameters
-
[in] | rouDiInternalMemoryManager | is the internal RouDi memory manager |
[in] | segmentManager | contains the shared memory segments and their memory pools which will be intropected |
[in] | publisherPort | is the publisher port for transmission of the introspection data |
◆ setSendInterval()
template<typename MemoryManager , typename SegmentManager , typename PublisherPort >
This function configures the interval for the transmission of the mempool introspection data.
- Parameters
-
[in] | interval | duration between two send invocations |
The documentation for this class was generated from the following files: