OPAL (Object Oriented Parallel Accelerator Library) 2022.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, boost::shared_ptr< TraceComponent > component)
 
void unregisterComponent (std::string)
 
void log (std::ostringstream &dump)
 

Private Attributes

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

Detailed Description

Definition at line 33 of file Trace.h.

Constructor & Destructor Documentation

◆ Trace()

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

Definition at line 37 of file Trace.h.

◆ ~Trace()

Trace::~Trace ( )
inline

Definition at line 41 of file Trace.h.

Member Function Documentation

◆ log()

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

Definition at line 55 of file Trace.h.

References pipeline_.

◆ registerComponent()

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

Definition at line 44 of file Trace.h.

References name, nameToIdx_, and pipeline_.

◆ unregisterComponent()

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

Definition at line 51 of file Trace.h.

Member Data Documentation

◆ name_

std::string Trace::name_
private

Definition at line 63 of file Trace.h.

◆ nameToIdx_

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

Definition at line 66 of file Trace.h.

Referenced by registerComponent().

◆ pipeline_

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

Definition at line 65 of file Trace.h.

Referenced by log(), and registerComponent().


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