gem5 v24.0.0.0
Loading...
Searching...
No Matches
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.
 
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::BmpWriter, and gem5::PngWriter.

◆ 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::BmpWriter, and gem5::PngWriter.

Member Data Documentation

◆ fb

const FrameBuffer& gem5::ImgWriter::fb
protected

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

Generated on Tue Jun 18 2024 16:24:12 for gem5 by doxygen 1.11.0