TensorRT  7.2.1.6
NVIDIA TensorRT
Looking for a C++ dev who knows TensorRT?
I'm looking for work. Hire me!
sample::LogStreamConsumerBuffer Class Reference
Inheritance diagram for sample::LogStreamConsumerBuffer:
Collaboration diagram for sample::LogStreamConsumerBuffer:

Public Member Functions

 LogStreamConsumerBuffer (std::ostream &stream, const std::string &prefix, bool shouldLog)
 
 LogStreamConsumerBuffer (LogStreamConsumerBuffer &&other)
 
 ~LogStreamConsumerBuffer ()
 
virtual int sync ()
 
void putOutput ()
 
void setShouldLog (bool shouldLog)
 

Private Attributes

std::ostream & mOutput
 
std::string mPrefix
 
bool mShouldLog
 

Constructor & Destructor Documentation

◆ LogStreamConsumerBuffer() [1/2]

sample::LogStreamConsumerBuffer::LogStreamConsumerBuffer ( std::ostream &  stream,
const std::string &  prefix,
bool  shouldLog 
)
inline

◆ LogStreamConsumerBuffer() [2/2]

sample::LogStreamConsumerBuffer::LogStreamConsumerBuffer ( LogStreamConsumerBuffer &&  other)
inline

◆ ~LogStreamConsumerBuffer()

sample::LogStreamConsumerBuffer::~LogStreamConsumerBuffer ( )
inline
Here is the call graph for this function:

Member Function Documentation

◆ sync()

virtual int sample::LogStreamConsumerBuffer::sync ( )
inlinevirtual
Here is the call graph for this function:

◆ putOutput()

void sample::LogStreamConsumerBuffer::putOutput ( )
inline
Here is the caller graph for this function:

◆ setShouldLog()

void sample::LogStreamConsumerBuffer::setShouldLog ( bool  shouldLog)
inline
Here is the caller graph for this function:

Member Data Documentation

◆ mOutput

std::ostream& sample::LogStreamConsumerBuffer::mOutput
private

◆ mPrefix

std::string sample::LogStreamConsumerBuffer::mPrefix
private

◆ mShouldLog

bool sample::LogStreamConsumerBuffer::mShouldLog
private

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