gem5  v21.1.0.2
Public Member Functions | Protected Attributes | List of all members
gem5::ImgWriter Class Referenceabstract

#include <imgwriter.hh>

Inheritance diagram for gem5::ImgWriter:
gem5::BmpWriter gem5::PngWriter

Public Member Functions

 ImgWriter (const FrameBuffer *_fb)
 
virtual ~ImgWriter ()
 
virtual void write (std::ostream &out) const =0
 Write the frame buffer data into the provided ostream. More...
 
virtual const char * getImgExtension () const =0
 

Protected Attributes

const FrameBufferfb
 

Detailed Description

Definition at line 52 of file imgwriter.hh.

Constructor & Destructor Documentation

◆ ImgWriter()

gem5::ImgWriter::ImgWriter ( const FrameBuffer _fb)
inline

Definition at line 55 of file imgwriter.hh.

◆ ~ImgWriter()

virtual gem5::ImgWriter::~ImgWriter ( )
inlinevirtual

Definition at line 59 of file imgwriter.hh.

Member Function Documentation

◆ getImgExtension()

virtual const char* gem5::ImgWriter::getImgExtension ( ) const
pure virtual

Implemented in gem5::PngWriter, and gem5::BmpWriter.

◆ write()

virtual void gem5::ImgWriter::write ( std::ostream &  out) const
pure virtual

Write the frame buffer data into the provided ostream.

Parameters
outoutput stream to write to

Implemented in gem5::PngWriter, and gem5::BmpWriter.

Member Data Documentation

◆ fb

const FrameBuffer& gem5::ImgWriter::fb
protected

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

Generated on Tue Sep 21 2021 12:27:43 for gem5 by doxygen 1.8.17