psana::MPWorkerId Class Reference
[psana package]

Structure which describes worker process (from the master point of view). More...

#include <MPWorkerId.h>

List of all members.

Public Member Functions

 MPWorkerId ()
 MPWorkerId (int workerId, pid_t pid, int fdDataPipe)
int workerId () const
 Return worker identifier, small non-negative number.
pid_t pid () const
 Return worker PID.
int fdDataPipe () const
 Return descriptor for master-side (write-only) end of data pipe.


Detailed Description

Structure which describes worker process (from the master point of view).

Note:
This software was developed for the LCLS project. If you use all or part of it, please give an appropriate acknowledgment.
Version:
Id
MPWorkerId.h 7702 2014-02-27 00:54:47Z salnikov@SLAC.STANFORD.EDU
Author:
Andy Salnikov

Definition at line 51 of file MPWorkerId.h.


Constructor & Destructor Documentation

psana::MPWorkerId::MPWorkerId (  )  [inline]

Definition at line 55 of file MPWorkerId.h.

psana::MPWorkerId::MPWorkerId ( int  workerId,
pid_t  pid,
int  fdDataPipe 
) [inline]

Definition at line 56 of file MPWorkerId.h.


Member Function Documentation

int psana::MPWorkerId::fdDataPipe (  )  const [inline]

Return descriptor for master-side (write-only) end of data pipe.

Definition at line 66 of file MPWorkerId.h.

pid_t psana::MPWorkerId::pid (  )  const [inline]

Return worker PID.

Definition at line 63 of file MPWorkerId.h.

int psana::MPWorkerId::workerId (  )  const [inline]

Return worker identifier, small non-negative number.

Definition at line 60 of file MPWorkerId.h.


The documentation for this class was generated from the following file:
Generated on 19 Dec 2016 for PSANAclasses by  doxygen 1.4.7