scc 2025.09
SystemC components library
logging::Output2FILE< CATEGORY > Class Template Reference

#include <logging.h>

Inheritance diagram for logging::Output2FILE< CATEGORY >:
Collaboration diagram for logging::Output2FILE< CATEGORY >:

Static Public Member Functions

static std::atomic< FILE * > & stream ()
static std::atomic< std::ostream * > & ostream ()
static void output (const std::string &msg)

Detailed Description

template<typename CATEGORY>
class logging::Output2FILE< CATEGORY >

the output writer

Definition at line 228 of file logging.h.

Member Function Documentation

◆ ostream()

template<typename CATEGORY>
std::atomic< std::ostream * > & logging::Output2FILE< CATEGORY >::ostream ( )
inlinestatic

Definition at line 240 of file logging.h.

◆ output()

template<typename CATEGORY>
void logging::Output2FILE< CATEGORY >::output ( const std::string & msg)
inlinestatic

write an output string to the file

Parameters
msgthe string to write

Definition at line 249 of file logging.h.

◆ stream()

template<typename CATEGORY>
std::atomic< FILE * > & logging::Output2FILE< CATEGORY >::stream ( )
inlinestatic

get the file handle of the underlying output file (or stdout)

Returns
the file handle

Definition at line 235 of file logging.h.


The documentation for this class was generated from the following file:
  • /home/eyck/Projects/MINRES/SystemC-Components/src/common/util/logging.h