![]() |
Rosetta
2021.16
|
Small inner class acting as a proxy to an object that hold it. More...
#include <TracerImpl.hh>

Public Member Functions | |
| TracerProxyImpl (TracerImpl &tracer, int priority, std::string channel) | |
| ~TracerProxyImpl () override | |
| bool | visible () |
| Is the output from this TracerProxy visible? More... | |
| void | calculate_visibility () |
| determine the visibility of the proxy. More... | |
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 |
| Flush inner buffer: send it to bound Tracer object, and clean it. More... | |
Private Attributes | |
| TracerImpl & | tracer_ |
| int | priority_ = t_info |
| std::string | channel_ |
| We need to copy channel name here so we can generate appropriate 'warning' message in destructor, where tracer_ object is no longer valid. More... | |
| bool | visible_ = true |
| is channel visible? More... | |
Small inner class acting as a proxy to an object that hold it.
Inner Classes
| basic::TracerImpl::TracerProxyImpl::TracerProxyImpl | ( | TracerImpl & | tracer, |
| int | priority, | ||
| std::string | channel | ||
| ) |
|
override |
| void basic::TracerImpl::TracerProxyImpl::calculate_visibility | ( | ) |
determine the visibility of the proxy.
References basic::TracerImpl::calculate_visibility(), basic::TracerImpl::channel_, basic::TracerImpl::priority_, and basic::TracerImpl::visible_.
Referenced by basic::TracerImpl::calculate_visibility().
|
overrideprotectedvirtual |
Flush inner buffer: send it to bound Tracer object, and clean it.
Reimplemented from basic::basic_otstream< CharT, Traits >.
References test.T500_Packing::pr, basic::TracerImpl::priority_, and basic::options::OptionKeys::in::file::s.
|
inline |
Is the output from this TracerProxy visible?
References visible_.
Referenced by basic::Tracer::TracerProxy::visible().
|
private |
We need to copy channel name here so we can generate appropriate 'warning' message in destructor, where tracer_ object is no longer valid.
|
private |
|
private |
is channel visible?
Referenced by visible().
1.8.7