Quantum 3 3.0.14

Public Member Functions | Public Attributes | List of all members
Quantum.QuantumFrameDifferGUI.FrameDifferState Class Reference

The state saves multiple frame dumps. More...

Inheritance diagram for Quantum.QuantumFrameDifferGUI.FrameDifferState:
Quantum.ISerializationCallbackReceiver

Public Member Functions

void AddEntry (string runnerId, int actorId, int frameNumber, string frameDump, string actorName=null)
 Add an entry (a frame dump) to the frame state. More...
 
void Clear ()
 Clear the sate. More...
 
void OnAfterDeserialize ()
 Is called after the state was loaded from a file to decompress the frame dumps. More...
 
void OnBeforeSerialize ()
 Is called before the state is saved to a file to compress the frame dumps. More...
 

Public Attributes

IEnumerable< string > RunnerIds => _byRunner.Keys
 Return all runner ids. More...
 

Detailed Description

The state saves multiple frame dumps.

Member Function Documentation

◆ Clear()

void Quantum.QuantumFrameDifferGUI.FrameDifferState.Clear ( )
inline

Clear the sate.

◆ AddEntry()

void Quantum.QuantumFrameDifferGUI.FrameDifferState.AddEntry ( string  runnerId,
int  actorId,
int  frameNumber,
string  frameDump,
string  actorName = null 
)
inline

Add an entry (a frame dump) to the frame state.

Parameters
runnerIdThe runner id
actorIdThe actor id
frameNumberThe frame number
frameDumpThe frame dump as text
actorNameThe actor name if available

◆ OnAfterDeserialize()

void Quantum.QuantumFrameDifferGUI.FrameDifferState.OnAfterDeserialize ( )
inline

Is called after the state was loaded from a file to decompress the frame dumps.

Implements Quantum.ISerializationCallbackReceiver.

◆ OnBeforeSerialize()

void Quantum.QuantumFrameDifferGUI.FrameDifferState.OnBeforeSerialize ( )
inline

Is called before the state is saved to a file to compress the frame dumps.

Implements Quantum.ISerializationCallbackReceiver.

Member Data Documentation

◆ RunnerIds

IEnumerable<string> Quantum.QuantumFrameDifferGUI.FrameDifferState.RunnerIds => _byRunner.Keys

Return all runner ids.