OTB  9.0.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

◆ StandardOutputPrintCallback()

otb::StandardOutputPrintCallback::StandardOutputPrintCallback ( )
inline

Constructor

Definition at line 45 of file otbStandardOutputPrintCallback.h.

◆ ~StandardOutputPrintCallback()

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

Destructor

Member Function Documentation

◆ Call()

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

Write a string to a buffer

◆ Flush()

void otb::StandardOutputPrintCallback::Flush ( )

Flush the buffer

◆ IsInteractive()

bool otb::StandardOutputPrintCallback::IsInteractive ( )

Determine if the output is interactive

Member Data Documentation

◆ m_IsInteractive

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: