ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
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. More...
 
KernelRunnerSvcImplCallbackoperator() ()
 Call setTaskFinished() on the service object. More...
 

Private Attributes

KernelRunnerSvcm_svc
 Pointer to the main service. More...
 

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  }

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 );
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:
AthCUDA::KernelRunnerSvc::setTaskFinished
void setTaskFinished()
Definition: KernelRunnerSvc.cxx:115
Handler::svc
AthROOTErrorHandlerSvc * svc
Definition: AthROOTErrorHandlerSvc.cxx:10
AthCUDA::KernelRunnerSvcImplCallback::m_svc
KernelRunnerSvc * m_svc
Pointer to the main service.
Definition: KernelRunnerSvcImpl.h:33