scc  2024.06
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 200 of file logging.h.

Member Function Documentation

◆ output()

template<typename CATEGORY >
static 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 221 of file logging.h.

◆ stream()

template<typename CATEGORY >
static 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 207 of file logging.h.


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