Home | Trees | Indices | Help |
---|
|
object --+ | ??.instance --+ | basic_otstream_T_char_std_char_traits_T_char_T__T --+ | Tracer
Class for handling user debug/warnings/errors. Use instance of this class instead of 'std::cout' for all your regular io. Channel argument must be related to the location of the source file. For example if you create Tracer object in src/basic/scoring/myfile.cc, then channel must be something like 'src.basic.scoring.myfile'
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
None : |
|
||
OStream : |
|
||
None : |
|
||
str : |
|
||
None : |
|
||
|
|||
|
|||
bool : |
|
||
TracerOptions : |
|
|
|||
Inherited from |
|
|||
Inherited from |
|
__call__( (Tracer)arg1, (int)priority) -> Tracer : basic/Tracer.hh:186 C++ signature : basic::Tracer {lvalue} __call__(basic::Tracer {lvalue},int) |
__init__( (object)arg1 [, (str)channel='' [, (TracerPriority)priority=rosetta.basic._basic_.TracerPriority.t_info [, (bool)muted_by_default=False]]]) -> None : Create Tracer object with given channel and priority C++ signature : void __init__(_object* [,std::string='' [,basic::TracerPriority=rosetta.basic._basic_.TracerPriority.t_info [,bool=False]]])
|
This function should be invoked after the options system has been initialized, so that the visibility for all tracers that have so far been constructed and have been waiting for the options system to be initialized can now have their visibility calculated. After this function completes, all newly-constructed Tracers will calculate their visibility in their constructors. Visibility is no longer be calculated on a just-in-time basis and stored in mutable data members. C++ signature : void calculate_tracer_visibilities()
|
channel( (Tracer)arg1) -> str : basic/Tracer.hh:189 C++ signature : std::string channel(basic::Tracer {lvalue}) |
set ios hook for final tracer stream (deafult is std::cout). C++ signature : std::ostream* {lvalue} final_stream()
|
flush_all_channels( (Tracer)arg1) -> None : flush tracer buffer and flush buffers of all sub-channels ie: Fatal, Error, Warning, Info, Debug, Trace C++ signature : void flush_all_channels(basic::Tracer {lvalue}) |
basic/Tracer.hh:198 C++ signature : void flush_all_tracers()
|
basic/Tracer.hh:176 C++ signature : std::string get_all_channels_string()
|
init( (Tracer)arg1, (Tracer)tr) -> None : re-init using data from another tracer object. C++ signature : void init(basic::Tracer {lvalue},basic::Tracer) |
priority( (Tracer)arg1) -> int : get/set tracer priority level. C++ signature : int priority(basic::Tracer {lvalue}) priority( (Tracer)arg1, (int)priority) -> None : basic/Tracer.hh:187 C++ signature : void priority(basic::Tracer {lvalue},int) |
basic/Tracer.hh:168 C++ signature : void set_default_final_stream()
|
set_ios_hook( (basic_otstream_T_char_std_char_traits_T_char_T__T)tr, (str)monitoring_channels_list [, (bool)raw=True]) -> None : basic/Tracer.hh:174 C++ signature : void set_ios_hook(boost::shared_ptr<basic::basic_otstream<char, std::char_traits<char> > >,std::string [,bool=True]) |
set_new_final_stream( (OStream)new_final_stream) -> None : basic/Tracer.hh:167 C++ signature : void set_new_final_stream(std::ostream*) |
global super mute flag that allow to mute all io no matter what. C++ signature : bool super_mute() super_mute( (bool)f) -> None : basic/Tracer.hh:196 C++ signature : void super_mute(bool)
|
get/set tracer options - global options for Tracer IO. C++ signature : basic::TracerOptions {lvalue} tracer_options()
|
visible( (Tracer)arg1) -> bool : Is this tracer currently visible?. C++ signature : bool visible(basic::Tracer {lvalue}) visible( (Tracer)arg1, (int)priority) -> bool : is this tracer visible, if it used the given priority value? C++ signature : bool visible(basic::Tracer {lvalue},int) |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sat Jun 6 00:10:59 2015 | http://epydoc.sourceforge.net |