Basic single-threaded-only (i.e. 更多...
#include <NetAnalytics.h>
类 TBasicNetAnalyticsData< TDataStruct > 继承关系图:Public 成员函数 | |
| void | CommitAnalytics (TDataStruct &AnalyticsVars) |
| Called by the class/code which is locally collecting analytics data, to commit the local data for aggregation when done. 更多... | |
Public 成员函数 继承自 FNetAnalyticsData | |
| FNetAnalyticsData () | |
| Default constructor | |
| virtual void | SendAnalytics ()=0 |
| Dispatches the aggregated analytics data - no further data should be added | |
Public 成员函数 继承自 TSharedFromThis< FNetAnalyticsData, NetAnalyticsThreadSafety > | |
| TSharedRef< FNetAnalyticsData, Mode > | AsShared () |
| Provides access to a shared reference to this object. 更多... | |
| TSharedRef< FNetAnalyticsData const, Mode > | AsShared () const |
| Provides access to a shared reference to this object (const.) Note that is only valid to call this after a shared reference (or shared pointer) to the object has already been created. 更多... | |
| FORCEINLINE bool | DoesSharedInstanceExist () const |
| Checks whether our referenced instance is valid (ie, whether it's safe to call AsShared). 更多... | |
| FORCEINLINE void | UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, Mode > const *InSharedPtr, OtherType *InObject) const |
| INTERNAL USE ONLY – Do not call this method. 更多... | |
| FORCEINLINE void | UpdateWeakReferenceInternal (TSharedRef< SharedRefType, Mode > const *InSharedRef, OtherType *InObject) const |
| INTERNAL USE ONLY – Do not call this method. 更多... | |
额外继承的成员函数 | |
Protected 成员函数 继承自 FNetAnalyticsData | |
| virtual void | InternalSendAnalytics () |
| Called by the Net Analytics Aggregator, when ready to send analytics - some implementations don't send immediately | |
| virtual void | NotifyFinalRelease () |
| Called just before the last shared reference to this data is released - used to trigger analytics send in threadsafe version | |
Protected 成员函数 继承自 TSharedFromThis< FNetAnalyticsData, NetAnalyticsThreadSafety > | |
| FORCEINLINE TSharedFromThis & | operator= (TSharedFromThis const &) |
| Hidden stub assignment operator | |
| TSharedFromThis () | |
| Hidden stub constructor | |
| TSharedFromThis (TSharedFromThis const &) | |
| Hidden stub copy constructor | |
| ~TSharedFromThis () | |
| Hidden destructor | |
静态 Protected 成员函数 继承自 TSharedFromThis< FNetAnalyticsData, NetAnalyticsThreadSafety > | |
| static FORCEINLINE TSharedRef< OtherType const, Mode > | SharedThis (const OtherType *ThisPtr) |
| Provides access to a shared reference to an object, given the object's 'this' pointer. 更多... | |
| static FORCEINLINE TSharedRef< OtherType, Mode > | SharedThis (OtherType *ThisPtr) |
| Provides access to a shared reference to an object, given the object's 'this' pointer. 更多... | |
Protected 属性 继承自 FNetAnalyticsData | |
| FNetAnalyticsAggregator * | Aggregator |
| The parent aggregator responsible for this data instance | |
Basic single-threaded-only (i.e.
good for NetConnection level code) analytics data holder, which just wraps around a simple struct, which defines the analytics variables and implements their aggregation.
The passed in struct will have to implement a CommitAnalytics function, which implements aggregation of the struct data, and the class which references this net analytics data will have to trigger this classes CommitAnalytics on the locally stored struct, when finished collecting local analytics data.
|
inline |
Called by the class/code which is locally collecting analytics data, to commit the local data for aggregation when done.
| AnalyticsVars | The local analytics variables to be committed/aggregated |