Brunot
Loading...
Searching...
No Matches
PublicLambdas.cpp File Reference
Include dependency graph for PublicLambdas.cpp:

Namespaces

namespace  sys
 the type of elements in a basic_json container

Functions

auto getButtonLambda (const std::string &lambdaName) -> std::function< void(Entity *)>
 Goes into an unordered map of lambdas and gets a lambda based on the name of the stored lambdas.

Variables

static const std::unordered_map< std::string, std::function< void(Entity *)> > serializedButtonLambdas

Function Documentation

◆ getButtonLambda()

auto getButtonLambda ( const std::string & lambdaName) ->std::function< void(Entity *)>

Goes into an unordered map of lambdas and gets a lambda based on the name of the stored lambdas.

Parameters
lambdaNameThe name of the lambda that the user wants to get
Returns
The lambda that the user requested
Here is the caller graph for this function:

Variable Documentation

◆ serializedButtonLambdas

const std::unordered_map<std::string, std::function<void(Entity*)> > serializedButtonLambdas
static