8#include <globjects/globjects_api.h>
18template <
typename... Arguments>
40#include <globjects/base/FunctionCall.inl>
The interface for a callable function with variadic argument types.
Definition AbstractFunctionCall.h:20
Definition FunctionCall.h:20
virtual void * identifier() const override
Accessor for an arbitrary identifier that can be used as identity.
std::function< void(Arguments...)> m_function
Definition FunctionCall.h:32
FunctionCall(FunctionPointer function, Arguments... arguments)
FunctionPointer m_functionPointer
Definition FunctionCall.h:31
std::tuple< Arguments... > m_arguments
Definition FunctionCall.h:33
virtual void operator()() override
Entry point for the main functionality of a subclass.
void(*)(Arguments...) FunctionPointer
Definition FunctionCall.h:22
CRTP for creating objects similar to std::make_unique.
Definition Instantiator.h:22
Contains all the classes that wrap OpenGL functionality.