|  | ATLAS Offline Software
    | 
Helper class for handling CUDA streams. More...
#include <StreamHolder.h>
| Public Member Functions | |
| StreamHolder () | |
| Friend declaration(s).  More... | |
| StreamHolder (void *stream, IStreamPoolSvc *pool) | |
| Constructor with the stream and the pool service.  More... | |
| StreamHolder (const StreamHolder &)=delete | |
| Copy constructor.  More... | |
| StreamHolder (StreamHolder &&parent) | |
| Move constructor.  More... | |
| ~StreamHolder () | |
| Destructor.  More... | |
| StreamHolder & | operator= (const StreamHolder &)=delete | 
| Copy assignment operator.  More... | |
| StreamHolder & | operator= (StreamHolder &&rhs) | 
| Move assignment operator.  More... | |
| operator bool () const | |
| Convenience operator for checking if the holder has a valid object.  More... | |
| Private Attributes | |
| void * | m_stream | 
| The managed stream.  More... | |
| IStreamPoolSvc * | m_pool | 
| The pool that this holder is attached to.  More... | |
Helper class for handling CUDA streams.
This class is used to:
Note that objects of this type can only be moved, they can not be copied.
Definition at line 24 of file StreamHolder.h.
| AthCUDA::StreamHolder::StreamHolder | ( | ) | 
| AthCUDA::StreamHolder::StreamHolder | ( | void * | stream, | 
| IStreamPoolSvc * | pool | ||
| ) | 
| 
 | delete | 
Copy constructor.
| AthCUDA::StreamHolder::StreamHolder | ( | StreamHolder && | parent | ) | 
| AthCUDA::StreamHolder::~StreamHolder | ( | ) | 
| AthCUDA::StreamHolder::operator bool | ( | ) | const | 
Convenience operator for checking if the holder has a valid object.
Definition at line 50 of file StreamHolder.cxx.
| 
 | delete | 
Copy assignment operator.
| StreamHolder & AthCUDA::StreamHolder::operator= | ( | StreamHolder && | rhs | ) | 
Move assignment operator.
Definition at line 35 of file StreamHolder.cxx.
| 
 | private | 
The pool that this holder is attached to.
Definition at line 55 of file StreamHolder.h.
| 
 | private | 
The managed stream.
Definition at line 53 of file StreamHolder.h.
 1.8.18
 1.8.18