Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
ITrace Struct Referenceabstract

#include <trace.h>

Inheritance diagram for ITrace:

Public Member Functions

virtual ~ITrace ()
 
virtual void NotifyLoad (const Path &pathname, size_t size)=0
 
virtual void NotifyStore (const Path &pathname, size_t size)=0
 
virtual Status Store (const OsPath &pathname) const =0
 store all entries into a file. More...
 
virtual Status Load (const OsPath &pathname)=0
 load entries from file. More...
 
virtual const TraceEntryEntries () const =0
 
virtual size_t NumEntries () const =0
 

Constructor & Destructor Documentation

◆ ~ITrace()

ITrace::~ITrace ( )
virtual

Member Function Documentation

◆ Entries()

virtual const TraceEntry * ITrace::Entries ( ) const
pure virtual

Implemented in Trace_Dummy, and Trace.

◆ Load()

virtual Status ITrace::Load ( const OsPath pathname)
pure virtual

load entries from file.

Parameters
pathname(native, absolute)

replaces any existing entries.

Implemented in Trace_Dummy, and Trace.

◆ NotifyLoad()

virtual void ITrace::NotifyLoad ( const Path pathname,
size_t  size 
)
pure virtual

Implemented in Trace_Dummy, and Trace.

◆ NotifyStore()

virtual void ITrace::NotifyStore ( const Path pathname,
size_t  size 
)
pure virtual

Implemented in Trace_Dummy, and Trace.

◆ NumEntries()

virtual size_t ITrace::NumEntries ( ) const
pure virtual

Implemented in Trace_Dummy, and Trace.

◆ Store()

virtual Status ITrace::Store ( const OsPath pathname) const
pure virtual

store all entries into a file.

Parameters
pathname(native, absolute)

note: the file format is text-based to allow human inspection and because storing filename strings in a binary format would be a bit awkward.

Implemented in Trace_Dummy, and Trace.


The documentation for this struct was generated from the following files: