ATLAS Offline Software
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
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. More...
 
int workerID () const
 assigned worker ID from processing unit More...
 
int workerProcessID () const
 process ID of this worker from OS More...
 

Static Public Member Functions

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

Private Attributes

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

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  :

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:
AthenaInterprocess::UpdateAfterFork::m_workerID
int m_workerID
the assigned worker ID
Definition: Incidents.h:45
AthenaInterprocess::UpdateAfterFork::workerID
int workerID() const
assigned worker ID from processing unit
Definition: Incidents.h:40
AthenaInterprocess::UpdateAfterFork::m_workerProcessID
int m_workerProcessID
the assigned worker process ID from the OS
Definition: Incidents.h:46
AthenaInterprocess::UpdateAfterFork::type
static const std::string & type()
Incident type.
Definition: Incidents.h:49
copySelective.source
string source
Definition: copySelective.py:32
AthenaInterprocess::UpdateAfterFork::workerProcessID
int workerProcessID() const
process ID of this worker from OS
Definition: Incidents.h:42