Class AnalyticsSystem

Class Documentation

class AnalyticsSystem

Public facing system that allows interfacing with an analytics provider.

Offers methods for sending events to the provider Events are added to a queue to be processewd on a different thread If events are unable to be send to the provider, then they will be held in the queue

Public Functions

AnalyticsSystem(const AnalyticsSystem&) = delete
AnalyticsSystem(AnalyticsSystem&&) = delete
AnalyticsSystem &operator=(const AnalyticsSystem&) = delete
AnalyticsSystem &operator=(AnalyticsSystem&&) = delete
void Log(AnalyticsEvent *Event)

Send an event.

Parameters

EventAnalyticsEvent

void RegisterProvider(IAnalyticsProvider *Provider)
void DeregisterProvider(IAnalyticsProvider *Provider)

Public Static Attributes

static const int QueueSize = 1024