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

#include <Trace.h>

Public Member Functions

 Trace (std::string name)
 
 ~Trace ()
 
void registerComponent (std::string name, std::shared_ptr< TraceComponent > component)
 
void unregisterComponent (std::string)
 
void log (std::ostringstream &dump)
 

Private Attributes

std::string name_
 
std::vector< std::shared_ptr
< TraceComponent > > 
pipeline_
 
std::map< std::string, size_t > nameToIdx_
 

Detailed Description

Definition at line 31 of file Trace.h.

Constructor & Destructor Documentation

Trace::Trace ( std::string  name)
inline

Definition at line 35 of file Trace.h.

Trace::~Trace ( )
inline

Definition at line 39 of file Trace.h.

Member Function Documentation

void Trace::log ( std::ostringstream &  dump)
inline

Definition at line 53 of file Trace.h.

References component(), and pipeline_.

Here is the call graph for this function:

void Trace::registerComponent ( std::string  name,
std::shared_ptr< TraceComponent component 
)
inline

Definition at line 42 of file Trace.h.

References nameToIdx_, and pipeline_.

void Trace::unregisterComponent ( std::string  )
inline

Definition at line 49 of file Trace.h.

Member Data Documentation

std::string Trace::name_
private

Definition at line 61 of file Trace.h.

std::map< std::string, size_t > Trace::nameToIdx_
private

Definition at line 64 of file Trace.h.

Referenced by registerComponent().

std::vector< std::shared_ptr<TraceComponent> > Trace::pipeline_
private

Definition at line 63 of file Trace.h.

Referenced by log(), and registerComponent().


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