OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
Public Member Functions | Private Attributes | List of all members
MyPid Class Reference

#include <MyPid.h>

Inheritance diagram for MyPid:
Inheritance graph
[legend]
Collaboration diagram for MyPid:
Collaboration graph
[legend]

Public Member Functions

 MyPid (std::string name, MPI_Comm comm)
 
void execute (std::ostringstream &dump)
 
- Public Member Functions inherited from TraceComponent
 TraceComponent (std::string name)
 
 ~TraceComponent ()
 
void prepend (std::ostringstream &dump, std::ostringstream &prepender)
 
void prepend (std::ostringstream &dump, std::string prepender)
 

Private Attributes

int mypid_
 

Detailed Description

Definition at line 25 of file MyPid.h.

Constructor & Destructor Documentation

◆ MyPid()

MyPid::MyPid ( std::string  name,
MPI_Comm  comm 
)
inline

Definition at line 30 of file MyPid.h.

References mypid_.

Member Function Documentation

◆ execute()

void MyPid::execute ( std::ostringstream &  dump)
inlinevirtual

Implements TraceComponent.

Definition at line 37 of file MyPid.h.

References mypid_.

Member Data Documentation

◆ mypid_

int MyPid::mypid_
private

Definition at line 43 of file MyPid.h.

Referenced by execute(), and MyPid().


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