Android-cuttlefish cvd tool
Public Member Functions | Static Protected Member Functions | Private Member Functions | List of all members
StandardStreamsCallbackInterface Class Referenceabstract

#include <commandline.h>

Inheritance diagram for StandardStreamsCallbackInterface:
Inheritance graph
[legend]

Public Member Functions

 StandardStreamsCallbackInterface ()
 
virtual bool OnStdoutReceived (const char *buffer, size_t length)=0
 
virtual bool OnStderrReceived (const char *buffer, size_t length)=0
 
virtual int Done (int status)=0
 

Static Protected Member Functions

static bool SendTo (std::string *string, FILE *stream, const char *buffer, size_t length, bool returnErrors)
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (StandardStreamsCallbackInterface)
 

Constructor & Destructor Documentation

◆ StandardStreamsCallbackInterface()

StandardStreamsCallbackInterface::StandardStreamsCallbackInterface ( )
inline

Member Function Documentation

◆ DISALLOW_COPY_AND_ASSIGN()

StandardStreamsCallbackInterface::DISALLOW_COPY_AND_ASSIGN ( StandardStreamsCallbackInterface  )
private

◆ Done()

virtual int StandardStreamsCallbackInterface::Done ( int  status)
pure virtual

◆ OnStderrReceived()

virtual bool StandardStreamsCallbackInterface::OnStderrReceived ( const char *  buffer,
size_t  length 
)
pure virtual

◆ OnStdoutReceived()

virtual bool StandardStreamsCallbackInterface::OnStdoutReceived ( const char *  buffer,
size_t  length 
)
pure virtual

◆ SendTo()

static bool StandardStreamsCallbackInterface::SendTo ( std::string *  string,
FILE *  stream,
const char *  buffer,
size_t  length,
bool  returnErrors 
)
inlinestaticprotected

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