Abacus  v0.1.0-alpha
Playtesting tools for Unity
Abacus.Internal.AbacusWriter Class Reference

Writes the collected data to file More...

Inheritance diagram for Abacus.Internal.AbacusWriter:

Public Member Functions

void StoreIntermediateData ()
 Stores a temporary OutputData object for export at the end of the application or on a Dump call More...
 
void Dump ()
 Converts all registered recorder's histories to a json output More...
 
void AddRecord (ITemporal value)
 Registers a temporal recorder More...
 
void AddRecord (IRecordable value)
 Registers a recordable More...
 

Public Attributes

List< IRecordableRegisteredRecordables => recordables
 
List< ITemporalRegisteredTemporals => temporals
 

Properties

static AbacusWriter Instance [get]
 Access singleton instance through this propriety. More...
 

Detailed Description

Writes the collected data to file

Member Function Documentation

◆ AddRecord() [1/2]

void Abacus.Internal.AbacusWriter.AddRecord ( IRecordable  value)

Registers a recordable

Parameters
valueThe recordable

◆ AddRecord() [2/2]

void Abacus.Internal.AbacusWriter.AddRecord ( ITemporal  value)

Registers a temporal recorder

Parameters
valueThe temporal recorder

◆ Dump()

void Abacus.Internal.AbacusWriter.Dump ( )

Converts all registered recorder's histories to a json output

◆ StoreIntermediateData()

void Abacus.Internal.AbacusWriter.StoreIntermediateData ( )

Stores a temporary OutputData object for export at the end of the application or on a Dump call

Property Documentation

◆ Instance

AbacusWriter Abacus.Internal.AbacusWriter.Instance
staticget

Access singleton instance through this propriety.


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