Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Private Types | List of all members
basic::MemTracerImpl Class Reference

#include <MemTracer.hh>

Inheritance diagram for basic::MemTracerImpl:
Inheritance graph
[legend]

Public Member Functions

 MemTracerImpl (TracerPriority priority=t_info, bool muted_by_default=true)
 
- Public Member Functions inherited from basic::TracerImpl
 TracerImpl (std::string const &channel="", TracerPriority priority=t_info, bool muted_by_default=false)
 Create Tracer object with given channel and priority. More...
 
 TracerImpl (std::string const &channel, utility::CSI_Sequence const &channel_color, utility::CSI_Sequence const &channel_name_color=utility::CSI_Nothing(), TracerPriority priority=t_info, bool muted_by_default=false)
 Create Tracer object with channel color, channel name color and given channel and priority. More...
 
 ~TracerImpl () override
 
void init (TracerImpl const &tr)
 re-init using data from another tracer object. More...
 
void flush_all_channels ()
 flush tracer buffer and flush buffers of all sub-channels ie: Fatal, Error, Warning, Info, Debug, Trace More...
 
bool visible ()
 Is this tracer currently visible?. More...
 
bool visible (int priority)
 is this tracer visible, if it used the given priority value? More...
 
int priority () const
 get/set tracer priority level. More...
 
TracerImploperator() (int priority)
 
void priority (int priority)
 
std::string const & channel () const
 
utility::CSI_Sequence const & channel_color ()
 Get the channel color. More...
 
void channel_color (utility::CSI_Sequence const &color)
 Set the channel color. More...
 
utility::CSI_Sequence const & channel_name_color ()
 
void channel_name_color (utility::CSI_Sequence const &color)
 
void set_local_print_channel_name (bool const setting)
 Set whether we're printing the channel name. More...
 
bool get_local_print_channel_name () const
 Get whether we're printing the channel name. More...
 
TracerProxyImplget_proxy_by_priority (TracerPriority priority)
 
- Public Member Functions inherited from basic::basic_otstream< CharT, Traits >
 basic_otstream ()
 
 ~basic_otstream () override
 
bool is_flushed () const
 Return true if inner string buffer is empty. More...
 

Protected Member Functions

void t_flush (std::string const &) override
 overload member function. More...
 
- Protected Member Functions inherited from basic::TracerImpl
void t_flush (std::string const &) override
 overload member function. More...
 

Private Types

typedef TracerImpl Parent
 

Additional Inherited Members

- Public Types inherited from basic::TracerImpl
typedef std::ostream * OstreamPointer
 
- Static Public Member Functions inherited from basic::TracerImpl
static void set_new_final_stream (std::ostream *new_final_stream)
 set ios hook for final tracer stream (deafult is std::cout). More...
 
static void set_default_final_stream ()
 
static void set_ios_hook (otstreamOP tr, std::string const &monitoring_channels_list, bool raw=false)
 set ios hook for all tracer io operation. More...
 
static std::string const & get_all_channels_string ()
 
static void set_tracer_options (TracerOptions const &to)
 set tracer options - global options for Tracer IO. More...
 
static bool super_mute ()
 global super mute flag that allow to mute all io no matter what. More...
 
static void super_mute (bool f)
 
static void output_prefix (std::string const &)
 set/get globale string-prefix for all Tracer output strings More...
 
static std::string output_prefix ()
 
- Public Attributes inherited from basic::TracerImpl
TracerProxyImpl Fatal
 channels with predefined priority levels. More...
 
TracerProxyImpl Error
 
TracerProxyImpl Warning
 
TracerProxyImpl Info
 
TracerProxyImpl Debug
 
TracerProxyImpl Trace
 
- Static Public Attributes inherited from basic::TracerImpl
static utility::CSI_Sequence Reset
 
static utility::CSI_Sequence Bold
 
static utility::CSI_Sequence Underline
 
static utility::CSI_Sequence Black
 
static utility::CSI_Sequence Red
 
static utility::CSI_Sequence Green
 
static utility::CSI_Sequence Yellow
 
static utility::CSI_Sequence Blue
 
static utility::CSI_Sequence Magenta
 
static utility::CSI_Sequence Cyan
 
static utility::CSI_Sequence White
 
static utility::CSI_Sequence bgBlack
 
static utility::CSI_Sequence bgRed
 
static utility::CSI_Sequence bgGreen
 
static utility::CSI_Sequence bgYellow
 
static utility::CSI_Sequence bgBlue
 
static utility::CSI_Sequence bgMagenta
 
static utility::CSI_Sequence bgCyan
 
static utility::CSI_Sequence bgWhite
 

Member Typedef Documentation

Constructor & Destructor Documentation

basic::MemTracerImpl::MemTracerImpl ( TracerPriority  priority = t_info,
bool  muted_by_default = true 
)
inline

Member Function Documentation

void basic::MemTracerImpl::t_flush ( std::string const &  str)
overrideprotectedvirtual

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