Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
ProfileResultInterface Class Referenceabstract

Result function class. More...

#include <profile_result.h>

Inherited by ProfileResultFileCSV, and ProfileResultFileDOT.

Public Member Functions

virtual void WriteResults (void)=0
 Write out results.
 
virtual void Delete (void)=0
 Destroys the current result function.
 

Protected Member Functions

 ProfileResultInterface (void)
 

Detailed Description

Result function class.

Factories for instances of this class are registered using Profile::AddResultFunction.

Definition at line 41 of file profile_result.h.

Constructor & Destructor Documentation

◆ ProfileResultInterface()

ProfileResultInterface::ProfileResultInterface ( void )
inlineprotected

Definition at line 63 of file profile_result.h.

Member Function Documentation

◆ Delete()

virtual void ProfileResultInterface::Delete ( void )
pure virtual

Destroys the current result function.

Use this function instead of just delete'ing the instance.

Implemented in ProfileResultFileCSV, and ProfileResultFileDOT.

◆ WriteResults()

virtual void ProfileResultInterface::WriteResults ( void )
pure virtual

Write out results.

This function is called on program exit.

Implemented in ProfileResultFileCSV, and ProfileResultFileDOT.


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