Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
FunctionUtils Namespace Reference

Classes

class  BaseFunction
 Base class for all functions contained in a FunctionContainer. More...
class  CallableFunction
 Abstract class that holds a callable object, to be later stored in a container. More...
class  FunctionContainer
 Container for functions, allowing for dynamic storage and invocation. More...
class  CallableFunctionTest

Typedefs

using FunctionID = std::size_t
 FunctionID class to represent a unique identifier for functions.

Functions

std::string DemangleTypeName (const std::type_info &typeInfo)
 TEST_F (CallableFunctionTest, LambdaCallable)
 TEST_F (CallableFunctionTest, FreeFunctionCallable)
 TEST_F (CallableFunctionTest, FunctionPointerCallable)
 TEST_F (CallableFunctionTest, FunctorCallable)
 TEST_F (CallableFunctionTest, StdFunctionCallable)

Typedef Documentation

◆ FunctionID

using FunctionUtils::FunctionID = std::size_t

Function Documentation

◆ DemangleTypeName()

std::string FunctionUtils::DemangleTypeName ( const std::type_info & typeInfo)
inline

◆ TEST_F() [1/5]

FunctionUtils::TEST_F ( CallableFunctionTest ,
FreeFunctionCallable  )

◆ TEST_F() [2/5]

FunctionUtils::TEST_F ( CallableFunctionTest ,
FunctionPointerCallable  )

◆ TEST_F() [3/5]

FunctionUtils::TEST_F ( CallableFunctionTest ,
FunctorCallable  )

◆ TEST_F() [4/5]

FunctionUtils::TEST_F ( CallableFunctionTest ,
LambdaCallable  )

◆ TEST_F() [5/5]

FunctionUtils::TEST_F ( CallableFunctionTest ,
StdFunctionCallable  )