ATLAS Offline Software
Loading...
Searching...
No Matches
AthenaInterprocess::UpdateAfterFork Class Reference

#include <Incidents.h>

Inheritance diagram for AthenaInterprocess::UpdateAfterFork:
Collaboration diagram for AthenaInterprocess::UpdateAfterFork:

Public Member Functions

 UpdateAfterFork (int workerID, int workerProcessID, const std::string &source, const EventContext &ctx=Gaudi::Hive::currentContext())
 Constructor.
int workerID () const
 assigned worker ID from processing unit
int workerProcessID () const
 process ID of this worker from OS

Static Public Member Functions

static const std::string & type ()
 Incident type.

Private Attributes

int m_workerID
 the assigned worker ID
int m_workerProcessID
 the assigned worker process ID from the OS

Detailed Description

Definition at line 22 of file Incidents.h.

Constructor & Destructor Documentation

◆ UpdateAfterFork()

AthenaInterprocess::UpdateAfterFork::UpdateAfterFork ( int workerID,
int workerProcessID,
const std::string & source,
const EventContext & ctx = Gaudi::Hive::currentContext() )
inline

Constructor.

Parameters
workerID worker "rank ID"
workerprocess ID the process ID of the worker from the OS
sourcesender of the incident

Definition at line 30 of file Incidents.h.

33 :
34 Incident(source, type(), ctx), m_workerID(workerID), m_workerProcessID(workerProcessID) {};
static const std::string & type()
Incident type.
Definition Incidents.h:49
int m_workerID
the assigned worker ID
Definition Incidents.h:45
int workerID() const
assigned worker ID from processing unit
Definition Incidents.h:40
int workerProcessID() const
process ID of this worker from OS
Definition Incidents.h:42
int m_workerProcessID
the assigned worker process ID from the OS
Definition Incidents.h:46

Member Function Documentation

◆ type()

const std::string & UpdateAfterFork::type ( )
inlinestatic

Incident type.

Definition at line 49 of file Incidents.h.

50 {
51 static const std::string type("UpdateAfterFork");
52 return type;
53 }

◆ workerID()

int AthenaInterprocess::UpdateAfterFork::workerID ( ) const
inline

assigned worker ID from processing unit

Definition at line 40 of file Incidents.h.

40{ return m_workerID; }

◆ workerProcessID()

int AthenaInterprocess::UpdateAfterFork::workerProcessID ( ) const
inline

process ID of this worker from OS

Definition at line 42 of file Incidents.h.

42{ return m_workerProcessID; }

Member Data Documentation

◆ m_workerID

int AthenaInterprocess::UpdateAfterFork::m_workerID
private

the assigned worker ID

Definition at line 45 of file Incidents.h.

◆ m_workerProcessID

int AthenaInterprocess::UpdateAfterFork::m_workerProcessID
private

the assigned worker process ID from the OS

Definition at line 46 of file Incidents.h.


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