OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
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 7 of file TraceComponent.h.

Constructor & Destructor Documentation

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

Definition at line 11 of file TraceComponent.h.

TraceComponent::~TraceComponent ( )
inline

Definition at line 14 of file TraceComponent.h.

Member Function Documentation

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

Implemented in CoutSink, FileSink, Timestamp, and MyPid.

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

Definition at line 19 of file TraceComponent.h.

Referenced by Timestamp::execute().

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

Definition at line 27 of file TraceComponent.h.

Member Data Documentation

std::string TraceComponent::name_
private

Definition at line 38 of file TraceComponent.h.


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