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

#include <TraceComponent.h>

Inheritance diagram for TraceComponent:
Inheritance graph
[legend]

Public Member Functions

 TraceComponent (std::string name)
 
 ~TraceComponent ()
 
virtual void execute (std::ostringstream &dump)=0
 
void prepend (std::ostringstream &dump, std::ostringstream &prepender)
 
void prepend (std::ostringstream &dump, std::string prepender)
 

Private Attributes

std::string name_
 

Detailed Description

Definition at line 27 of file TraceComponent.h.

Constructor & Destructor Documentation

◆ TraceComponent()

TraceComponent::TraceComponent ( std::string  name)
inline

Definition at line 31 of file TraceComponent.h.

◆ ~TraceComponent()

TraceComponent::~TraceComponent ( )
inline

Definition at line 34 of file TraceComponent.h.

Member Function Documentation

◆ execute()

virtual void TraceComponent::execute ( std::ostringstream &  dump)
pure virtual

Implemented in Timestamp, MyPid, FileSink, and CoutSink.

◆ prepend() [1/2]

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

Definition at line 39 of file TraceComponent.h.

Referenced by Timestamp::execute().

◆ prepend() [2/2]

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

Definition at line 47 of file TraceComponent.h.

Member Data Documentation

◆ name_

std::string TraceComponent::name_
private

Definition at line 58 of file TraceComponent.h.


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