A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
EventContainer Class Reference

#include <EventLogService.h>

Public Member Functions

 EventContainer (EventContainer &Other)=delete
 
FORCEINLINE bool Add (UBaseEvent *NewEvent)
 
bool GetAll (TArray< UBaseEvent * > &OutEvents)
 
void operator= (const EventContainer &)=delete
 
FORCEINLINE int32 Size ()
 

Private Member Functions

 EventContainer ()
 
FORCEINLINE TArray< UBaseEvent * > & GetBuffer ()
 
void Swap ()
 

Private Attributes

TArray< UBaseEvent * > FirstBuffer
 
bool FirstBufferInUse = true
 
TArray< UBaseEvent * > SecondBuffer
 

Friends

class EventLogService
 

Detailed Description

Definition at line 7 of file EventLogService.h.

Constructor & Destructor Documentation

◆ EventContainer() [1/2]

EventContainer::EventContainer ( )
inlineprivate

Definition at line 11 of file EventLogService.h.

◆ EventContainer() [2/2]

EventContainer::EventContainer ( EventContainer & Other)
delete

Prevent copy cloning/assigning

Member Function Documentation

◆ Add()

FORCEINLINE bool EventContainer::Add ( UBaseEvent * NewEvent)
inline

Definition at line 25 of file EventLogService.h.

Here is the call graph for this function:

◆ GetAll()

bool EventContainer::GetAll ( TArray< UBaseEvent * > & OutEvents)

Definition at line 6 of file EventLogService.cpp.

Here is the call graph for this function:

◆ GetBuffer()

FORCEINLINE TArray< UBaseEvent * > & EventContainer::GetBuffer ( )
inlineprivate

Definition at line 36 of file EventLogService.h.

Here is the caller graph for this function:

◆ operator=()

void EventContainer::operator= ( const EventContainer & )
delete

◆ Size()

FORCEINLINE int32 EventContainer::Size ( )
inline

Definition at line 23 of file EventLogService.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Swap()

void EventContainer::Swap ( )
private

Definition at line 16 of file EventLogService.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ EventLogService

friend class EventLogService
friend

Definition at line 9 of file EventLogService.h.

Member Data Documentation

◆ FirstBuffer

TArray<UBaseEvent*> EventContainer::FirstBuffer
private

Definition at line 44 of file EventLogService.h.

◆ FirstBufferInUse

bool EventContainer::FirstBufferInUse = true
private

Definition at line 47 of file EventLogService.h.

◆ SecondBuffer

TArray<UBaseEvent*> EventContainer::SecondBuffer
private

Definition at line 45 of file EventLogService.h.


The documentation for this class was generated from the following files: