Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::FpeMonitor::Buffer Struct Reference

#include <acts/blob/sPHENIX/Plugins/FpeMonitoring/include/Acts/Plugins/FpeMonitoring/FpeMonitor.hpp>

+ Collaboration diagram for Acts::FpeMonitor::Buffer:

Public Member Functions

 Buffer (std::size_t bufferSize)
 
 Buffer (Buffer &&other)
 
std::pair< void *, std::size_t > next ()
 
void pushOffset (std::size_t offset)
 
void reset ()
 
std::size_t size () const
 
std::size_t offset () const
 
std::bytedata ()
 

Public Attributes

 m_size
 

Private Attributes

std::unique_ptr< std::byte[]> m_data
 
std::size_t m_size {}
 
std::size_t m_offset {}
 

Detailed Description

Definition at line 42 of file FpeMonitor.hpp.

View newest version in sPHENIX GitHub at line 42 of file FpeMonitor.hpp

Constructor & Destructor Documentation

Acts::FpeMonitor::Buffer::Buffer ( std::size_t  bufferSize)
inline

Definition at line 43 of file FpeMonitor.hpp.

View newest version in sPHENIX GitHub at line 43 of file FpeMonitor.hpp

Acts::FpeMonitor::Buffer::Buffer ( Buffer &&  other)
inline

Definition at line 48 of file FpeMonitor.hpp.

View newest version in sPHENIX GitHub at line 48 of file FpeMonitor.hpp

References m_data, m_offset, m_size, and testing::internal::move().

+ Here is the call graph for this function:

Member Function Documentation

std::byte* Acts::FpeMonitor::Buffer::data ( )
inline

Definition at line 70 of file FpeMonitor.hpp.

View newest version in sPHENIX GitHub at line 70 of file FpeMonitor.hpp

References m_data.

std::pair<void *, std::size_t> Acts::FpeMonitor::Buffer::next ( )
inline

Definition at line 56 of file FpeMonitor.hpp.

View newest version in sPHENIX GitHub at line 56 of file FpeMonitor.hpp

References m_data, m_offset, and m_size.

std::size_t Acts::FpeMonitor::Buffer::offset ( ) const
inline

Definition at line 68 of file FpeMonitor.hpp.

View newest version in sPHENIX GitHub at line 68 of file FpeMonitor.hpp

References m_offset.

Referenced by pushOffset().

+ Here is the caller graph for this function:

void Acts::FpeMonitor::Buffer::pushOffset ( std::size_t  offset)
inline

Definition at line 60 of file FpeMonitor.hpp.

View newest version in sPHENIX GitHub at line 60 of file FpeMonitor.hpp

References assert, m_offset, m_size, and offset().

+ Here is the call graph for this function:

void Acts::FpeMonitor::Buffer::reset ( )
inline

Definition at line 65 of file FpeMonitor.hpp.

View newest version in sPHENIX GitHub at line 65 of file FpeMonitor.hpp

References m_offset.

std::size_t Acts::FpeMonitor::Buffer::size ( void  ) const
inline

Definition at line 67 of file FpeMonitor.hpp.

View newest version in sPHENIX GitHub at line 67 of file FpeMonitor.hpp

References m_size.

Member Data Documentation

std::unique_ptr<std::byte[]> Acts::FpeMonitor::Buffer::m_data
private

Definition at line 73 of file FpeMonitor.hpp.

View newest version in sPHENIX GitHub at line 73 of file FpeMonitor.hpp

Referenced by Buffer(), data(), and next().

std::size_t Acts::FpeMonitor::Buffer::m_offset {}
private

Definition at line 75 of file FpeMonitor.hpp.

View newest version in sPHENIX GitHub at line 75 of file FpeMonitor.hpp

Referenced by Buffer(), next(), offset(), pushOffset(), and reset().

Acts::FpeMonitor::Buffer::m_size
Initial value:
{bufferSize} {}
Buffer(const Buffer &) = delete

Definition at line 45 of file FpeMonitor.hpp.

View newest version in sPHENIX GitHub at line 45 of file FpeMonitor.hpp

Referenced by Buffer(), next(), pushOffset(), and size().

std::size_t Acts::FpeMonitor::Buffer::m_size {}
private

Definition at line 74 of file FpeMonitor.hpp.

View newest version in sPHENIX GitHub at line 74 of file FpeMonitor.hpp


The documentation for this struct was generated from the following file: