3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/events/IEventListener.h"
12namespace Core {
class Path; }
13namespace Social::Events {
class Event; }
16namespace Social::Events {
41 AggregationEventListener& operator=(AggregationEventListener
const&);
42 AggregationEventListener(AggregationEventListener
const&);
43 AggregationEventListener();
48 virtual ~AggregationEventListener() ;
50 virtual void recordEvent(
55 virtual void sendEvents(
bool forceSend) ;
59 virtual void stopDebugEventLogging() ;
61 virtual void _flushEventQueue();
65 virtual bool _isListenerReadyForEvents()
const;
74 ::std::deque<::Social::Events::Event>& listOfSameTypeEvents,
82 ::std::unordered_map<::std::string, ::std::deque<::Social::Events::Event>>& eventQueue
87 MCNAPI
void _sendEvents(::std::unordered_map<::std::string, ::std::deque<::Social::Events::Event>>& queueToSend);
89 MCNAPI
void _sendNextEvent(::std::unordered_map<::std::string, ::std::deque<::Social::Events::Event>>& queueToSend);
98 $ctor(uint regBatchSize, uint regSendInterval, uint throttledSendInterval,
::Core::Path const& logFileName);
Definition NonOwnerPointer.h:9
MCAPI bool _needToSendAggregatedEvents() const
MCAPI AggregationEventListener(::Core::Path const &logFileName)
MCAPI void $_flushEventQueue()
MCAPI void $recordEvent(::Social::Events::Event const &event, ::Bedrock::NonOwnerPointer<::AppPlatform > const &appPlatform)
MCAPI void * $ctor(::Core::Path const &logFileName)
MCAPI void _sendCustomAggregatedEvents(bool forceSend)
MCAPI void _sendEvents(::std::unordered_map<::std::string, ::std::deque<::Social::Events::Event > > &queueToSend)
MCAPI void $sendEvents(bool forceSend)
MCAPI void $stopDebugEventLogging()
MCAPI void _sendNextEvent(::std::unordered_map<::std::string, ::std::deque<::Social::Events::Event > > &queueToSend)
static MCAPI void ** $vftable()
MCAPI void _recordAggregatedEvent(::Social::Events::Event const &event, ::std::unordered_map<::std::string, ::std::deque<::Social::Events::Event > > &eventQueue)
MCAPI bool $_isListenerReadyForEvents() const
MCAPI void _handleAggregation(::std::deque<::Social::Events::Event > &listOfSameTypeEvents, ::Social::Events::Event const &event)
MCAPI bool $_checkAgainstEventAllowlist(::Social::Events::Event const &event) const
Definition IEventListener.h:16