class MAGES::Experimental::EmbodimentJARIA::AnalyticsRetriever

Overview

Helper class that retrieves the analytics. More…

class AnalyticsRetriever
{
public:
    // classes

    class SerializableAnalytics;

    // properties

    AnalyticsRetriever Instance;
    string JSON;

    // methods

    AnalyticsRetriever();
    void UpdateTriggeredErrors(string errorName, object error);
    void FinalizeOperationAnalytics();
};

Detailed Documentation

Helper class that retrieves the analytics.

Properties

AnalyticsRetriever Instance

Gets an instance of the StateRetriever class.

string JSON

Gets or sets the JSON with the analytics entries of this actions.

Methods

AnalyticsRetriever()

Initializes a new instance of the AnalyticsRetriever class.

void UpdateTriggeredErrors(string errorName, object error)

Gets the analytics of the error triggered.

Parameters:

errorName

The error name.

error

The error triggered.

void FinalizeOperationAnalytics()

Updates the JSON with the final analytics on operation end.