OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
MyPid Class Reference

#include <MyPid.h>

Inheritance diagram for MyPid:
Collaboration diagram for MyPid:

Public Member Functions

 MyPid (std::string name, MPI_Comm comm)
void execute (std::ostringstream &dump)
void prepend (std::ostringstream &dump, std::ostringstream &prepender)
void prepend (std::ostringstream &dump, std::string prepender)

Private Attributes

int mypid_
std::string name_

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_, name, and TraceComponent::TraceComponent().

Here is the call graph for this function:

Member Function Documentation

◆ execute()

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

Implements TraceComponent.

Definition at line 37 of file MyPid.h.

References mypid_.

◆ prepend() [1/2]

void TraceComponent::prepend ( std::ostringstream & dump,
std::ostringstream & prepender )
inlineinherited

Definition at line 39 of file TraceComponent.h.

Referenced by Timestamp::execute().

◆ prepend() [2/2]

void TraceComponent::prepend ( std::ostringstream & dump,
std::string prepender )
inlineinherited

Definition at line 47 of file TraceComponent.h.

Member Data Documentation

◆ mypid_

int MyPid::mypid_
private

Definition at line 43 of file MyPid.h.

Referenced by execute(), and MyPid().

◆ name_

std::string TraceComponent::name_
privateinherited

Definition at line 58 of file TraceComponent.h.

Referenced by TraceComponent().


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