![]() |
ATLAS Offline Software
|
Convenience type for the "algorithm provider" tools. More...
#include <DeviceAlgorithmT.h>
Public Types | |
| using | algorithm_type = ALGORITHM_TYPE |
| Type of the held algorithm. | |
Public Member Functions | |
| DeviceAlgorithmT (std::shared_ptr< const vecmem::copy > copy, std::shared_ptr< const algorithm_type > algorithm) | |
| Constructor with the algorithm and the copy object that it uses. | |
| DeviceAlgorithmT (const DeviceAlgorithmT &)=default | |
| Copy constructor. | |
| DeviceAlgorithmT (DeviceAlgorithmT &&)=default | |
| Move constructor. | |
| DeviceAlgorithmT & | operator= (const DeviceAlgorithmT &)=default |
| Copy assignment operator. | |
| DeviceAlgorithmT & | operator= (DeviceAlgorithmT &&)=default |
| Move assignment operator. | |
| const vecmem::copy & | copy () const |
| Get the copy object that the algorithm uses. | |
| const algorithm_type & | algorithm () const |
| Get the algorithm itself. | |
| const algorithm_type & | operator* () const |
| Access the algorithm with a "pointer dereferencing formalism". | |
| const algorithm_type * | operator-> () const |
| Access the algorithm with a "pointer formalism". | |
Private Attributes | |
| std::shared_ptr< const vecmem::copy > | m_copy |
| The copy object that the algorithm uses. | |
| std::shared_ptr< const algorithm_type > | m_algorithm |
| The algorithm itself. | |
Convenience type for the "algorithm provider" tools.
Definition at line 15 of file DeviceAlgorithmT.h.
| using ActsTrk::DeviceAlgorithmT< ALGORITHM_TYPE >::algorithm_type = ALGORITHM_TYPE |
Type of the held algorithm.
Definition at line 19 of file DeviceAlgorithmT.h.
|
inline |
Constructor with the algorithm and the copy object that it uses.
Definition at line 22 of file DeviceAlgorithmT.h.
|
default |
Copy constructor.
|
default |
Move constructor.
|
inline |
|
inline |
|
inline |
Access the algorithm with a "pointer dereferencing formalism".
Definition at line 42 of file DeviceAlgorithmT.h.
|
inline |
|
default |
Copy assignment operator.
|
default |
Move assignment operator.
|
private |
The algorithm itself.
Definition at line 50 of file DeviceAlgorithmT.h.
|
private |
The copy object that the algorithm uses.
Definition at line 48 of file DeviceAlgorithmT.h.