Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
Trace_Dummy Class Reference
Inheritance diagram for Trace_Dummy:
Collaboration diagram for Trace_Dummy:

Public Member Functions

 Trace_Dummy (size_t maxSize)
 
virtual void NotifyLoad (const Path &pathname, size_t size)
 
virtual void NotifyStore (const Path &pathname, size_t size)
 
virtual Status Load (const OsPath &pathname)
 load entries from file. More...
 
virtual Status Store (const OsPath &pathname) const
 store all entries into a file. More...
 
virtual const TraceEntryEntries () const
 
virtual size_t NumEntries () const
 
- Public Member Functions inherited from ITrace
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

◆ Trace_Dummy()

Trace_Dummy::Trace_Dummy ( size_t  maxSize)
inline

Member Function Documentation

◆ Entries()

virtual const TraceEntry * Trace_Dummy::Entries ( ) const
inlinevirtual

Implements ITrace.

◆ Load()

virtual Status Trace_Dummy::Load ( const OsPath pathname)
inlinevirtual

load entries from file.

Parameters
pathname(native, absolute)

replaces any existing entries.

Implements ITrace.

◆ NotifyLoad()

virtual void Trace_Dummy::NotifyLoad ( const Path pathname,
size_t  size 
)
inlinevirtual

Implements ITrace.

◆ NotifyStore()

virtual void Trace_Dummy::NotifyStore ( const Path pathname,
size_t  size 
)
inlinevirtual

Implements ITrace.

◆ NumEntries()

virtual size_t Trace_Dummy::NumEntries ( ) const
inlinevirtual

Implements ITrace.

◆ Store()

virtual Status Trace_Dummy::Store ( const OsPath pathname) const
inlinevirtual

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.

Implements ITrace.


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