lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
psalg::shmem::ProcInfo Class Reference

Src subclass with process-id and IP-address accessors that are stubs in ProcInfo.cc (only the level is kept). More...

#include <ProcInfo.hh>

Inherits XtcData::Src.

Public Member Functions

 ProcInfo (Level::Type level, uint32_t processId, uint32_t ipAddr)
 Construct as Src(level), with value bits 0; processId and ipAddr are ignored.
 
uint32_t processId () const
 Stub: always returns 0.
 
uint32_t ipAddr () const
 Stub: always returns 0.
 
void ipAddr (int)
 Stub: does nothing.
 
- Public Member Functions inherited from XtcData::Src
 Src (Level::Type level=Level::Segment)
 Set the level bits to level and the value bits to 0.
 
 Src (unsigned value, Level::Type level=Level::Segment)
 Store value & 0x0fffffff in bits 27:0 and level in bits 31:28.
 
Level::Type level () const
 Return bits 31:28 as a Level::Type.
 
unsigned value () const
 Return bits 27:0.
 

Additional Inherited Members

- Protected Attributes inherited from XtcData::Src
uint32_t _value
 

Detailed Description

Src subclass with process-id and IP-address accessors that are stubs in ProcInfo.cc (only the level is kept).

The comment above says it is for all levels except Source.

Constructor & Destructor Documentation

◆ ProcInfo()

psalg::shmem::ProcInfo::ProcInfo ( Level::Type  level,
uint32_t  processId,
uint32_t  ipAddr 
)

Construct as Src(level), with value bits 0; processId and ipAddr are ignored.

Member Function Documentation

◆ ipAddr() [1/2]

uint32_t psalg::shmem::ProcInfo::ipAddr ( ) const

Stub: always returns 0.

◆ ipAddr() [2/2]

void psalg::shmem::ProcInfo::ipAddr ( int  )

Stub: does nothing.

◆ processId()

uint32_t psalg::shmem::ProcInfo::processId ( ) const

Stub: always returns 0.


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