ATLAS Offline Software
Loading...
Searching...
No Matches
AthCUDA::KernelRunnerSvcImplCallback Class Reference

Class used for calling AthCUDA::KernelRunnerSvc::setTaskFinished. More...

#include <KernelRunnerSvcImpl.h>

Collaboration diagram for AthCUDA::KernelRunnerSvcImplCallback:

Public Member Functions

 KernelRunnerSvcImplCallback (KernelRunnerSvc &svc)
 Constructor with the service object to operate on.
KernelRunnerSvcImplCallbackoperator() ()
 Call setTaskFinished() on the service object.

Private Attributes

KernelRunnerSvcm_svc
 Pointer to the main service.

Detailed Description

Class used for calling AthCUDA::KernelRunnerSvc::setTaskFinished.

Definition at line 22 of file KernelRunnerSvcImpl.h.

Constructor & Destructor Documentation

◆ KernelRunnerSvcImplCallback()

AthCUDA::KernelRunnerSvcImplCallback::KernelRunnerSvcImplCallback ( KernelRunnerSvc & svc)

Constructor with the service object to operate on.

Definition at line 17 of file KernelRunnerSvcImpl.cxx.

19 : m_svc( &svc ) {
20
21 }
KernelRunnerSvc * m_svc
Pointer to the main service.

Member Function Documentation

◆ operator()()

KernelRunnerSvcImplCallback & AthCUDA::KernelRunnerSvcImplCallback::operator() ( )

Call setTaskFinished() on the service object.

Definition at line 23 of file KernelRunnerSvcImpl.cxx.

23 {
24
25 assert( m_svc != nullptr );
26 m_svc->setTaskFinished();
27 return *this;
28 }

Member Data Documentation

◆ m_svc

KernelRunnerSvc* AthCUDA::KernelRunnerSvcImplCallback::m_svc
private

Pointer to the main service.

Definition at line 33 of file KernelRunnerSvcImpl.h.


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