![]() |
Rosetta Utilities
2014.16.56682
|
#include <MemTracer.hh>
Public Member Functions | |
| MemTracer (TracerPriority priority=t_info, bool muted_by_default=true) | |
Public Member Functions inherited from basic::Tracer | |
| Tracer (std::string const &channel="", TracerPriority priority=t_info, bool muted_by_default=false) | |
| Create Tracer object with given channel and priority. More... | |
| virtual | ~Tracer () |
| void | init (Tracer 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 () const |
| Is this tracer currently visible?. More... | |
| bool | visible (int priority) const |
| is this tracer visible, if it used the given priority value? More... | |
| int | priority () |
| get/set tracer priority level. More... | |
| Tracer & | operator() (int priority) |
| void | priority (int priority) |
| std::string const & | channel () |
Public Member Functions inherited from basic::basic_otstream< CharT, Traits > | |
| basic_otstream () | |
| virtual | ~basic_otstream () |
| bool | is_flushed () const |
| Return true if inner string buffer is empty. More... | |
Public Member Functions inherited from utility::pointer::ReferenceCount | |
| void | ctor () |
| virtual | ~ReferenceCount () |
| Destructor. More... | |
| Size | ref_count () const |
| Reference count. More... | |
Protected Member Functions | |
| virtual void | t_flush (std::string const &) |
| overload member function. More... | |
Protected Member Functions inherited from utility::pointer::ReferenceCount | |
| ReferenceCount () | |
| Default constructor. More... | |
| ReferenceCount (ReferenceCount const &) | |
| Copy constructor. More... | |
| ReferenceCount & | operator= (ReferenceCount const &) |
| Copy assignment. More... | |
Private Types | |
| typedef Tracer | Parent |
Static Private Attributes | |
| static bool | single_line_ = false |
Additional Inherited Members | |
Public Types inherited from utility::pointer::ReferenceCount | |
| typedef platform::Size | Size |
| typedef platform::Size | size_type |
Static Public Member Functions inherited from basic::Tracer | |
| static void | set_ios_hook (otstreamOP tr, std::string const &monitoring_channels_list) |
| set ios hook for all tracer io operation. More... | |
| static void | set_ios_hook (otstreamOP tr, std::string const &monitoring_channels_list, bool raw) |
| static std::string const | get_AllChannels_string () |
| static TracerOptions & | tracer_options () |
| get/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 | flush_all_tracers () |
Public Attributes inherited from basic::Tracer | |
| TracerProxy | Fatal |
| channels with predefined priority levels. More... | |
| TracerProxy | Error |
| TracerProxy | Warning |
| TracerProxy | Info |
| TracerProxy | Debug |
| TracerProxy | Trace |
Static Public Attributes inherited from basic::Tracer | |
| static std::string const | AllChannels |
| static CSI_Sequence | Reset |
| pre-created objects to hold various ASCII CSI codes, treat them as almost-const's Codes below is all Hogwarts-approved magic numbers, so do not modify them. For reference see: http://en.wikipedia.org/wiki/ANSI_escape_code#CSI_codes More... | |
| static CSI_Sequence | Bold |
| static CSI_Sequence | Underline |
| static CSI_Sequence | Black |
| static CSI_Sequence | Red |
| static CSI_Sequence | Green |
| static CSI_Sequence | Yellow |
| static CSI_Sequence | Blue |
| static CSI_Sequence | Magenta |
| static CSI_Sequence | Cyan |
| static CSI_Sequence | White |
| static CSI_Sequence | bgBlack |
| static CSI_Sequence | bgRed |
| static CSI_Sequence | bgGreen |
| static CSI_Sequence | bgYellow |
| static CSI_Sequence | bgBlue |
| static CSI_Sequence | bgMagenta |
| static CSI_Sequence | bgCyan |
| static CSI_Sequence | bgWhite |
|
private |
|
inline |
|
protectedvirtual |
overload member function.
Reimplemented from basic::Tracer.
References basic::get_usage_from_procfilesystem(), basic::Tracer::t_flush(), and basic::Tracer::visible().
|
staticprivate |
1.8.7