Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooFit::Detail::BufferImpl< Container > Class Template Reference

template<class Container>
class RooFit::Detail::BufferImpl< Container >

Definition at line 146 of file Buffers.cxx.

Public Types

using Queue = std::queue< std::unique_ptr< 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 RooFit::Detail::AbsBuffer
virtual ~AbsBuffer ()=default
 

Private Attributes

Queue_queue
 
std::unique_ptr< Container > _vec
 
Inheritance diagram for RooFit::Detail::BufferImpl< Container >:
[legend]

Member Typedef Documentation

◆ Queue

template<class Container >
using RooFit::Detail::BufferImpl< Container >::Queue = std::queue<std::unique_ptr<Container> >

Definition at line 148 of file Buffers.cxx.

◆ QueuesMap

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

Definition at line 149 of file Buffers.cxx.

Constructor & Destructor Documentation

◆ BufferImpl()

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

Definition at line 151 of file Buffers.cxx.

◆ ~BufferImpl()

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

Definition at line 161 of file Buffers.cxx.

Member Function Documentation

◆ cpuReadPtr()

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

Implements RooFit::Detail::AbsBuffer.

Definition at line 163 of file Buffers.cxx.

◆ cpuWritePtr()

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

Implements RooFit::Detail::AbsBuffer.

Definition at line 166 of file Buffers.cxx.

◆ gpuReadPtr()

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

Implements RooFit::Detail::AbsBuffer.

Definition at line 164 of file Buffers.cxx.

◆ gpuWritePtr()

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

Implements RooFit::Detail::AbsBuffer.

Definition at line 167 of file Buffers.cxx.

◆ vec()

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

Definition at line 169 of file Buffers.cxx.

Member Data Documentation

◆ _queue

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

Definition at line 173 of file Buffers.cxx.

◆ _vec

template<class Container >
std::unique_ptr<Container> RooFit::Detail::BufferImpl< Container >::_vec
private

Definition at line 172 of file Buffers.cxx.

  • roofit/roofitcore/src/Buffers.cxx