NCBI C++ ToolKit
Public Member Functions | Private Attributes | List of all members
CRemoteAppJobFactory< TJob, TListener, kName > Class Template Reference

Search Toolkit Book for CRemoteAppJobFactory

#include "exec_helpers.hpp"
(Private to src/app/grid/remote_app.)

+ Inheritance diagram for CRemoteAppJobFactory< TJob, TListener, kName >:
+ Collaboration diagram for CRemoteAppJobFactory< TJob, TListener, kName >:

Public Member Functions

virtual void Init (const IWorkerNodeInitContext &context)
 Initialize a worker node factory. More...
 
virtual IWorkerNodeJobCreateInstance (void)
 Create a job. More...
 
virtual IWorkerNodeIdleTaskGetIdleTask ()
 Get the Idle task. More...
 
virtual string GetJobVersion () const
 Get the job version. More...
 
virtual string GetAppName () const
 
virtual string GetAppVersion () const
 
TListener * CreateListener () const
 
- Public Member Functions inherited from IWorkerNodeJobFactory
virtual ~IWorkerNodeJobFactory ()
 

Private Attributes

unique_ptr< CRemoteAppLauncherm_RemoteAppLauncher
 
const IWorkerNodeInitContextm_WorkerNodeInitContext
 
unique_ptr< IWorkerNodeIdleTaskm_IdleTask
 

Detailed Description

template<class TJob, class TListener, const char *const kName>
class CRemoteAppJobFactory< TJob, TListener, kName >

Definition at line 156 of file exec_helpers.hpp.

Member Function Documentation

◆ CreateInstance()

template<class TJob , class TListener , const char *const kName>
virtual IWorkerNodeJob* CRemoteAppJobFactory< TJob, TListener, kName >::CreateInstance ( void  )
inlinevirtual

◆ CreateListener()

template<class TJob , class TListener , const char *const kName>
TListener* CRemoteAppJobFactory< TJob, TListener, kName >::CreateListener ( ) const
inline

◆ GetAppName()

template<class TJob , class TListener , const char *const kName>
virtual string CRemoteAppJobFactory< TJob, TListener, kName >::GetAppName ( void  ) const
inlinevirtual

Reimplemented from IWorkerNodeJobFactory.

Definition at line 197 of file exec_helpers.hpp.

References kName.

◆ GetAppVersion()

template<class TJob , class TListener , const char *const kName>
virtual string CRemoteAppJobFactory< TJob, TListener, kName >::GetAppVersion ( void  ) const
inlinevirtual

◆ GetIdleTask()

template<class TJob , class TListener , const char *const kName>
virtual IWorkerNodeIdleTask* CRemoteAppJobFactory< TJob, TListener, kName >::GetIdleTask ( )
inlinevirtual

Get the Idle task.

Reimplemented from IWorkerNodeJobFactory.

Definition at line 190 of file exec_helpers.hpp.

References CRemoteAppJobFactory< TJob, TListener, kName >::m_IdleTask.

◆ GetJobVersion()

template<class TJob , class TListener , const char *const kName>
virtual string CRemoteAppJobFactory< TJob, TListener, kName >::GetJobVersion ( ) const
inlinevirtual

◆ Init()

template<class TJob , class TListener , const char *const kName>
virtual void CRemoteAppJobFactory< TJob, TListener, kName >::Init ( const IWorkerNodeInitContext )
inlinevirtual

Member Data Documentation

◆ m_IdleTask

template<class TJob , class TListener , const char *const kName>
unique_ptr<IWorkerNodeIdleTask> CRemoteAppJobFactory< TJob, TListener, kName >::m_IdleTask
private

◆ m_RemoteAppLauncher

template<class TJob , class TListener , const char *const kName>
unique_ptr<CRemoteAppLauncher> CRemoteAppJobFactory< TJob, TListener, kName >::m_RemoteAppLauncher
private

◆ m_WorkerNodeInitContext

template<class TJob , class TListener , const char *const kName>
const IWorkerNodeInitContext* CRemoteAppJobFactory< TJob, TListener, kName >::m_WorkerNodeInitContext
private

The documentation for this class was generated from the following file:
Modified on Sun Apr 21 03:44:53 2024 by modify_doxy.py rev. 669887