Logo ROOT  
Reference Guide
ROOT::Experimental::Detail::BufferImpl< Container > Class Template Reference

template<class Container>
class ROOT::Experimental::Detail::BufferImpl< Container >

Definition at line 184 of file Buffers.cxx.

Public Types

using Queue = std::queue< Container >
 
using QueuesMap = std::map< std::size_t, Queue >
 

Public Member Functions

 BufferImpl (std::size_t size, QueuesMap &queuesMap)
 
 ~BufferImpl () override
 
double const * cpuReadPtr () const override
 
doublecpuWritePtr () override
 
double const * gpuReadPtr () const override
 
doublegpuWritePtr () override
 
Container & vec ()
 
- Public Member Functions inherited from ROOT::Experimental::Detail::AbsBuffer
virtual ~AbsBuffer ()=default
 
virtual double const * cpuReadPtr () const =0
 
virtual doublecpuWritePtr ()=0
 
virtual double const * gpuReadPtr () const =0
 
virtual doublegpuWritePtr ()=0
 

Private Attributes

Queue_queue
 
Container _vec
 
Inheritance diagram for ROOT::Experimental::Detail::BufferImpl< Container >:
[legend]

Member Typedef Documentation

◆ Queue

template<class Container >
using ROOT::Experimental::Detail::BufferImpl< Container >::Queue = std::queue<Container>

Definition at line 186 of file Buffers.cxx.

◆ QueuesMap

template<class Container >
using ROOT::Experimental::Detail::BufferImpl< Container >::QueuesMap = std::map<std::size_t, Queue>

Definition at line 187 of file Buffers.cxx.

Constructor & Destructor Documentation

◆ BufferImpl()

template<class Container >
ROOT::Experimental::Detail::BufferImpl< Container >::BufferImpl ( std::size_t  size,
QueuesMap queuesMap 
)
inline

Definition at line 189 of file Buffers.cxx.

◆ ~BufferImpl()

template<class Container >
ROOT::Experimental::Detail::BufferImpl< Container >::~BufferImpl ( )
inlineoverride

Definition at line 199 of file Buffers.cxx.

Member Function Documentation

◆ cpuReadPtr()

template<class Container >
double const * ROOT::Experimental::Detail::BufferImpl< Container >::cpuReadPtr ( ) const
inlineoverridevirtual

Implements ROOT::Experimental::Detail::AbsBuffer.

Definition at line 201 of file Buffers.cxx.

◆ cpuWritePtr()

template<class Container >
double * ROOT::Experimental::Detail::BufferImpl< Container >::cpuWritePtr ( )
inlineoverridevirtual

Implements ROOT::Experimental::Detail::AbsBuffer.

Definition at line 204 of file Buffers.cxx.

◆ gpuReadPtr()

template<class Container >
double const * ROOT::Experimental::Detail::BufferImpl< Container >::gpuReadPtr ( ) const
inlineoverridevirtual

Implements ROOT::Experimental::Detail::AbsBuffer.

Definition at line 202 of file Buffers.cxx.

◆ gpuWritePtr()

template<class Container >
double * ROOT::Experimental::Detail::BufferImpl< Container >::gpuWritePtr ( )
inlineoverridevirtual

Implements ROOT::Experimental::Detail::AbsBuffer.

Definition at line 205 of file Buffers.cxx.

◆ vec()

template<class Container >
Container & ROOT::Experimental::Detail::BufferImpl< Container >::vec ( )
inline

Definition at line 207 of file Buffers.cxx.

Member Data Documentation

◆ _queue

template<class Container >
Queue& ROOT::Experimental::Detail::BufferImpl< Container >::_queue
private

Definition at line 211 of file Buffers.cxx.

◆ _vec

template<class Container >
Container ROOT::Experimental::Detail::BufferImpl< Container >::_vec
private

Definition at line 210 of file Buffers.cxx.


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