|
gem5 [DEVELOP-FOR-25.0]
|
#include <output.hh>
Public Member Functions | |
| virtual | ~OutputStream () |
| std::ostream * | stream () const |
| Get the output underlying output stream. | |
| virtual bool | recreateable () const |
| Can the file be recreated if the output directory is moved? | |
| const std::string & | name () const |
| Get the file name in the output directory. | |
Protected Member Functions | |
| OutputStream (const std::string &name, std::ostream *stream) | |
| Wrap an existing stream. | |
| OutputStream (const OutputStream &f) | |
| virtual void | relocate (const OutputDirectory &dir) |
| Re-create the in a new location if recreateable. | |
Protected Attributes | |
| const std::string | _name |
| Name in output directory. | |
| std::ostream *const | _stream |
| Underlying output stream. | |
Friends | |
| class | OutputDirectory |
|
protected |
Wrap an existing stream.
Definition at line 65 of file output.cc.
References _name, _stream, name(), and stream().
Referenced by gem5::OutputFile< StreamType >::OutputFile(), and OutputStream().
|
protected |
References gem5::ArmISA::f, OutputDirectory, and OutputStream().
|
inline |
Get the file name in the output directory.
Definition at line 73 of file output.hh.
References _name.
Referenced by gem5::OutputDirectory::close(), gem5::OutputFile< StreamType >::OutputDirectory, OutputDirectory, gem5::OutputFile< StreamType >::OutputFile(), and OutputStream().
|
inlinevirtual |
Can the file be recreated if the output directory is moved?
Reimplemented in gem5::OutputFile< StreamType >.
|
protectedvirtual |
Re-create the in a new location if recreateable.
Reimplemented in gem5::OutputFile< StreamType >.
Definition at line 75 of file output.cc.
References OutputDirectory.
|
inline |
Get the output underlying output stream.
Definition at line 62 of file output.hh.
References _stream.
Referenced by gem5::VncInput::captureFrameBuffer(), gem5::OutputDirectory::close(), gem5::output(), OutputDirectory, OutputStream(), gem5::ArmISA::DumpStats::process(), and gem5::pseudo_inst::writefile().
|
friend |
Definition at line 76 of file output.hh.
References name(), OutputDirectory, and stream().
Referenced by OutputDirectory, OutputStream(), and relocate().
|
protected |
Name in output directory.
Definition at line 89 of file output.hh.
Referenced by name(), gem5::OutputFile< StreamType >::OutputFile(), OutputStream(), and gem5::OutputFile< StreamType >::relocate().
|
protected |
Underlying output stream.
Definition at line 92 of file output.hh.
Referenced by gem5::OutputFile< StreamType >::OutputFile(), OutputStream(), and stream().