Rosetta
Public Member Functions | Private Member Functions | Private Attributes | List of all members
basic::Tracer::TracerProxy Class Reference

#include <Tracer.hh>

Public Member Functions

 TracerProxy (Tracer &tracer, TracerPriority priority)
 
 TracerProxy (TracerProxy const &)=delete
 
TracerProxyoperator= (TracerProxy const &)=delete
 
template<typename T >
TracerImpl::TracerProxyImploperator<< (T const &entry)
 output operator We return a TracerProxyImpl instead of ourself to make subsequent access faster. More...
 
TracerImpl::TracerProxyImploperator<< (std::ostream &(*entry)(std::ostream &))
 
 operator std::ostream & ()
 Allow Tracer object to be passed to something expecting a std::ostream. More...
 
void flush ()
 
bool visible ()
 

Private Member Functions

TracerImpl::TracerProxyImpltracer_proxy_impl ()
 

Private Attributes

Tracertracer_
 
TracerPriority priority_
 

Constructor & Destructor Documentation

◆ TracerProxy() [1/2]

basic::Tracer::TracerProxy::TracerProxy ( Tracer tracer,
TracerPriority  priority 
)
inline

◆ TracerProxy() [2/2]

basic::Tracer::TracerProxy::TracerProxy ( TracerProxy const &  )
delete

Member Function Documentation

◆ flush()

void basic::Tracer::TracerProxy::flush ( )
inline

◆ operator std::ostream &()

basic::Tracer::TracerProxy::operator std::ostream & ( )
inline

Allow Tracer object to be passed to something expecting a std::ostream.

References tracer_proxy_impl().

◆ operator<<() [1/2]

TracerImpl::TracerProxyImpl& basic::Tracer::TracerProxy::operator<< ( std::ostream &(*)(std::ostream &)  entry)
inline

References tracer_proxy_impl().

◆ operator<<() [2/2]

template<typename T >
TracerImpl::TracerProxyImpl& basic::Tracer::TracerProxy::operator<< ( T const &  entry)
inline

output operator We return a TracerProxyImpl instead of ourself to make subsequent access faster.

References tracer_proxy_impl().

◆ operator=()

TracerProxy& basic::Tracer::TracerProxy::operator= ( TracerProxy const &  )
delete

◆ tracer_proxy_impl()

TracerImpl::TracerProxyImpl& basic::Tracer::TracerProxy::tracer_proxy_impl ( )
inlineprivate

◆ visible()

bool basic::Tracer::TracerProxy::visible ( )
inline

Member Data Documentation

◆ priority_

TracerPriority basic::Tracer::TracerProxy::priority_
private

Referenced by tracer_proxy_impl().

◆ tracer_

Tracer& basic::Tracer::TracerProxy::tracer_
private

Referenced by tracer_proxy_impl().


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