OTB  6.7.0
Orfeo Toolbox
Public Member Functions | Private Attributes | List of all members
otb::StandardOutputPrintCallback Class Reference

#include <otbStandardOutputPrintCallback.h>

Public Member Functions

void Call (std::string const &content)
 
void Flush ()
 
bool IsInteractive ()
 
 StandardOutputPrintCallback ()
 
virtual ~StandardOutputPrintCallback ()=default
 

Private Attributes

bool m_IsInteractive
 

Detailed Description

Class with printing callback methods using the standard output.

This class defines the Call method, used to write a string the standard output, the Flush method, used to flush it, and the IsInteractive method used to determine if the output is the console.

See Also
otb::StandardOneLineFilterWatcher

Definition at line 41 of file otbStandardOutputPrintCallback.h.

Constructor & Destructor Documentation

otb::StandardOutputPrintCallback::StandardOutputPrintCallback ( )
inline

Constructor

Definition at line 45 of file otbStandardOutputPrintCallback.h.

virtual otb::StandardOutputPrintCallback::~StandardOutputPrintCallback ( )
virtualdefault

Destructor

Member Function Documentation

void otb::StandardOutputPrintCallback::Call ( std::string const &  content)

Write a string to a buffer

void otb::StandardOutputPrintCallback::Flush ( )

Flush the buffer

bool otb::StandardOutputPrintCallback::IsInteractive ( )

Determine if the output is interactive

Member Data Documentation

bool otb::StandardOutputPrintCallback::m_IsInteractive
private

flag determining if the output is interactive

Definition at line 61 of file otbStandardOutputPrintCallback.h.


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