ATLAS Offline Software
Public Types | Public Member Functions | Private Attributes | List of all members
AthCUDA::StreamPool Class Reference

#include <StreamPool.h>

Collaboration diagram for AthCUDA::StreamPool:

Public Types

using ptr = void *
 

Public Member Functions

 StreamPool ()
 
 ~StreamPool ()
 
bool empty () const
 
ptr pop ()
 
void push (const ptr &s)
 

Private Attributes

std::unique_ptr< StreamPoolImplm_impl
 

Detailed Description

Definition at line 19 of file StreamPool.h.

Member Typedef Documentation

◆ ptr

using AthCUDA::StreamPool::ptr = void*

Definition at line 22 of file StreamPool.h.

Constructor & Destructor Documentation

◆ StreamPool()

AthCUDA::StreamPool::StreamPool ( )

Definition at line 23 of file StreamPool.cxx.

24 {
25 }

◆ ~StreamPool()

AthCUDA::StreamPool::~StreamPool ( )

Definition at line 29 of file StreamPool.cxx.

30 {
31 }

Member Function Documentation

◆ empty()

bool AthCUDA::StreamPool::empty ( ) const

Definition at line 34 of file StreamPool.cxx.

35 {
36  return m_impl->m_streams.empty();
37 }

◆ pop()

StreamPool::ptr AthCUDA::StreamPool::pop ( )

Definition at line 40 of file StreamPool.cxx.

41 {
42  ptr s = nullptr;
43  m_impl->m_streams.pop( s );
44  return s;
45 }

◆ push()

void AthCUDA::StreamPool::push ( const ptr s)

Definition at line 48 of file StreamPool.cxx.

49 {
50  m_impl->m_streams.push( s );
51 }

Member Data Documentation

◆ m_impl

std::unique_ptr<StreamPoolImpl> AthCUDA::StreamPool::m_impl
private

Definition at line 31 of file StreamPool.h.


The documentation for this class was generated from the following files:
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
AthCUDA::StreamPool::ptr
void * ptr
Definition: StreamPool.h:22
AthCUDA::StreamPool::m_impl
std::unique_ptr< StreamPoolImpl > m_impl
Definition: StreamPool.h:31