Agrarsense
Public Member Functions | Public Attributes | List of all members
FTickEntry Struct Reference

#include <TickManager.h>

Public Member Functions

 FTickEntry ()
 
 FTickEntry (UObject *InOwner, std::function< void(float)> InTickFunction, ETickType InType)
 
bool operator== (const FTickEntry &Other) const
 

Public Attributes

UObject * Owner
 
std::function< void(float)> Tick
 
ETickType TickType = ETickType::NONE
 

Detailed Description

Definition at line 55 of file TickManager.h.

Constructor & Destructor Documentation

◆ FTickEntry() [1/2]

FTickEntry::FTickEntry ( )
inline

Definition at line 66 of file TickManager.h.

66: Owner(nullptr) {}
UObject * Owner
Definition: TickManager.h:60

◆ FTickEntry() [2/2]

FTickEntry::FTickEntry ( UObject *  InOwner,
std::function< void(float)>  InTickFunction,
ETickType  InType 
)
inline

Definition at line 68 of file TickManager.h.

69 : Owner(InOwner), Tick(InTickFunction), TickType(InType) {}
std::function< void(float)> Tick
Definition: TickManager.h:62
ETickType TickType
Definition: TickManager.h:64

Member Function Documentation

◆ operator==()

bool FTickEntry::operator== ( const FTickEntry Other) const
inline

Definition at line 71 of file TickManager.h.

72 {
73 return Owner == Other.Owner && TickType == Other.TickType;
74 }

References Owner, and TickType.

Member Data Documentation

◆ Owner

UObject* FTickEntry::Owner

Definition at line 60 of file TickManager.h.

Referenced by operator==(), and ATickManager::TickFunctionsParallel().

◆ Tick

std::function<void(float)> FTickEntry::Tick

Definition at line 62 of file TickManager.h.

◆ TickType

ETickType FTickEntry::TickType = ETickType::NONE

Definition at line 64 of file TickManager.h.

Referenced by operator==().


The documentation for this struct was generated from the following file: