|
gem5
v19.0.0.0
|
#include <output.hh>
Public Member Functions | |
| virtual | ~OutputStream () |
| std::ostream * | stream () const |
| Get the output underlying output stream. More... | |
| virtual bool | recreateable () const |
| Can the file be recreated if the output directory is moved? More... | |
| const std::string & | name () const |
| Get the file name in the output directory. More... | |
Protected Member Functions | |
| OutputStream (const std::string &name, std::ostream *stream) | |
| Wrap an existing stream. More... | |
| OutputStream (const OutputStream &f) | |
| virtual void | relocate (const OutputDirectory &dir) |
| Re-create the in a new location if recreateable. More... | |
Protected Attributes | |
| const std::string | _name |
| Name in output directory. More... | |
| std::ostream *const | _stream |
| Underlying output stream. More... | |
Friends | |
| class | OutputDirectory |
|
protected |
|
protected |
|
inline |
Get the file name in the output directory.
Definition at line 75 of file output.hh.
References _name.
Referenced by OutputDirectory::close(), OutputDirectory::createSubdirectory(), OutputDirectory::isAbsolute(), OutputDirectory::open(), OutputDirectory::resolve(), and sc_gem5::TraceFile::set_time_unit().
|
inlinevirtual |
Can the file be recreated if the output directory is moved?
Reimplemented in OutputFile< StreamType >.
|
protectedvirtual |
Re-create the in a new location if recreateable.
Reimplemented in OutputFile< StreamType >.
|
inline |
Get the output underlying output stream.
Definition at line 64 of file output.hh.
References _stream.
Referenced by BaseCPU::BaseCPU(), Pl111::dmaDone(), X86ISA::GpuTLB::exitCallback(), Stats::initText(), output(), Linux::DmesgDumpEvent::process(), Linux::KernelPanicEvent::process(), DumpStatsPCEvent::process(), SimPoint::profile(), HDLcd::pxlFrameDone(), sc_gem5::TraceFile::stream(), Terminal::Terminal(), Terminal::writeData(), and PseudoInst::writefile().
|
friend |
|
protected |
Name in output directory.
Definition at line 91 of file output.hh.
Referenced by name(), OutputFile< StreamType >::OutputFile(), and OutputFile< StreamType >::relocate().
|
protected |